[Bug tree-optimization/106365] New: Miss to handle ifn .LEN_STORE in FRE

2022-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 Bug ID: 106365 Summary: Miss to handle ifn .LEN_STORE in FRE Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/106364] New: ICE when compiling inline asm with -m32

2022-07-19 Thread tlwang at uwaterloo dot ca via Gcc-bugs
-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap // Thread model: posix // Supported LTO compression algorithms: zlib // gcc version 13.0.0 20220719 (experimental) [master -g2180cdd8a] (GCC) // // inline_asm_program0_preprocessed.c: In function ‘l

[Bug c++/106363] New: [modules] Can't selectively reexport imported declaration in same namespace

2022-07-19 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106363 Bug ID: 106363 Summary: [modules] Can't selectively reexport imported declaration in same namespace Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 --- Comment #2 from Kewen Lin --- Two more failures related to required tuning setting: PASS->FAIL: gcc.target/powerpc/compress-float-ppc.c scan-assembler lfs PASS->FAIL: gcc.target/powerpc/compress-float-ppc-pic.c scan-assembler lfs

[Bug analyzer/106359] -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106359 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/106358] [meta-bug] tracker bug for building the Linux kernel with -fanalyzer

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Bug 106358 depends on bug 106359, which changed state. Bug 106359 Summary: -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106359 What|Removed

[Bug analyzer/106359] -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106359 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:68871a008e686dbe56ff0b502f2864176a140716 commit r13-1761-g68871a008e686dbe56ff0b502f2864176a140716 Author: David Malcolm Date:

[Bug tree-optimization/105651] [12/13 Regression] bogus "may overlap" memcpy warning with std::string and operator+ at -O3

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Andrew Pinski changed: What|Removed |Added CC||me+gccbugzilla at s5 dot pm ---

[Bug tree-optimization/106350] O3 memcpy warning when prepending a length-1 string literal to a constant std::string

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106350 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/106202] [11/12/13 Regression] ICE in move_fn_p, at cp/decl.cc:14907 since r12-885-gf71ca97def69b8ae

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106202 Andrew Pinski changed: What|Removed |Added CC||leo at adberg dot com --- Comment #6

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug c++/106202] [11/12/13 Regression] ICE in move_fn_p, at cp/decl.cc:14907 since r12-885-gf71ca97def69b8ae

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106202 --- Comment #5 from Andrew Pinski --- The reduced testcase from PR 106361: struct foo { int x; }; struct bar { foo f; friend bool operator==(const bar& a, const bar& b); }; bool operator==(const bar& a, const bar& b) = default;

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread leo at adberg dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 --- Comment #4 from Leo Adberg --- (In reply to Andrew Pinski from comment #2) > Confirmed. Please next time, either put the testcase inline or attach it. > Having a goldbolt link is not enough. Will do next time! Sorry, first time here.

[Bug c++/106202] [11/12/13 Regression] ICE in move_fn_p, at cp/decl.cc:14907 since r12-885-gf71ca97def69b8ae

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106202 Andrew Pinski changed: What|Removed |Added Known to fail||11.2.0, 12.1.0 Keywords|

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 --- Comment #3 from Andrew Pinski --- The ICE is: : In function 'int main()': :13:25: internal compiler error: in move_fn_p, at cp/decl.cc:15025 13 | return bar{} == bar{}; | ^ 0x221f229 internal_error(char

[Bug c++/106361] [11/12/13 Regression] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Last

[Bug c++/106361] Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 --- Comment #1 from Andrew Pinski --- Created attachment 53320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53320=edit testcase

[Bug c++/106362] New: -Wc++20-compat should not warn with __extension__

2022-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106362 Bug ID: 106362 Summary: -Wc++20-compat should not warn with __extension__ Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/106361] New: Internal compiler error when creating an out-of-line operator==() = default

2022-07-19 Thread leo at adberg dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106361 Bug ID: 106361 Summary: Internal compiler error when creating an out-of-line operator==() = default Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c++/92434] [DR 2355] noexcept couldn't be deduced in function template

2022-07-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92434 Jason Merrill changed: What|Removed |Added Known to work||12.1.1 Resolution|---

[Bug fortran/101330] [openmp]ICE in free_expr0(): Bad expr type

2022-07-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101330 --- Comment #5 from Tobias Burnus --- (In reply to anlauf from comment #4) > (In reply to kargl from comment #1) ... > > - step = gfc_get_expr (); > > if (gfc_match (": %e ", ) != MATCH_YES) > Yeah, this obviously fixes it. Looks

[Bug testsuite/105959] new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2022-07-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 --- Comment #1 from seurer at gcc dot gnu.org --- *** Bug 105837 has been marked as a duplicate of this bug. ***

[Bug testsuite/105837] New test c-c++-common/diagnostic-format-sarif-file-4.c in r13-967-g6cf276ddf22066 fails

2022-07-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105837 seurer at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/103590] ICE: find_array_spec(): Missing spec

2022-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103590 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/103590] ICE: find_array_spec(): Missing spec

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103590 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f838d15641d256e21ffc126c3277b290ed743928 commit r13-1757-gf838d15641d256e21ffc126c3277b290ed743928 Author: Harald Anlauf Date:

[Bug tree-optimization/106360] New: [13 regression] ICE in many test cases after r13-1745-g4c323130257744

2022-07-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106360 Bug ID: 106360 Summary: [13 regression] ICE in many test cases after r13-1745-g4c323130257744 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/101330] [openmp]ICE in free_expr0(): Bad expr type

2022-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101330 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug analyzer/106359] -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106359 --- Comment #1 from David Malcolm --- Dumping the store shows huge numbers of clusters of the form: cluster for: "RXANCL Input": CONJURED(madera_free_bus_error_irq (_6, i_29);, "RXANCL Input") (ESCAPED) (TOUCHED) cluster for: "Route":

[Bug analyzer/106359] New: -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106359 Bug ID: 106359 Summary: -fanalyzer takes a very long time on Linux kernel: sound/soc/codecs/cs47l{85,90}.c Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug analyzer/106358] New: [meta-bug] tracker bug for building the Linux kernel with -fanalyzer

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Bug ID: 106358 Summary: [meta-bug] tracker bug for building the Linux kernel with -fanalyzer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105634] [9/10/11 Regression] ICE: Floating point exception in maybe_warn_class_memaccess

2022-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105634 Marek Polacek changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9/10/11 Regression] ICE:

[Bug c++/105634] [9/10/11/12 Regression] ICE: Floating point exception in maybe_warn_class_memaccess

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105634 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:deafa40eb57b39626e116ca6a15d34a34c57c9f6 commit r12-8585-gdeafa40eb57b39626e116ca6a15d34a34c57c9f6 Author: Marek Polacek

[Bug fortran/106353] [suboptimal] Why is a 3D array initialized, use case 2 two-layer loop?

2022-07-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106353 --- Comment #3 from anlauf at gcc dot gnu.org --- For code like rhogvx=2 where we know that we initialize a full (and here contiguous) array, is there something the frontend can do, e.g. to annotate that a collapse of the loop nest is

[Bug target/106342] [12/13 Regression] internal compiler error: in extract_insn, at recog.cc:2791

2022-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106342 --- Comment #3 from Marek Polacek --- Ah, -march=z14 is needed: $ ./cc1 -quiet -O2 pr104612.c -Iinclude -march=z14 -mtune=z15 pr104612.c: In function ‘foo’: pr104612.c:15:1: error: unrecognizable insn: 15 | } | ^ (insn 9 8 10 2 (set

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:68f37670eff0b872ce5dfd382c8d8f3206bdfc27 commit r13-1755-g68f37670eff0b872ce5dfd382c8d8f3206bdfc27 Author: Patrick Palka Date:

[Bug c++/105766] requires std::is_constructible<> reports 'constraint depends on itself' error.

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105766 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:68f37670eff0b872ce5dfd382c8d8f3206bdfc27 commit r13-1755-g68f37670eff0b872ce5dfd382c8d8f3206bdfc27 Author: Patrick Palka Date:

[Bug c++/94894] avoidable instantiation of conversion function template during overload resolution

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94894 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:68f37670eff0b872ce5dfd382c8d8f3206bdfc27 commit r13-1755-g68f37670eff0b872ce5dfd382c8d8f3206bdfc27 Author: Patrick Palka Date:

[Bug target/81708] The x86 stack canary location should be customizable

2022-07-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #17 from H.J. Lu --- (In reply to Alexandre Oliva from comment #15) > Uroš, > > stack-prot-sym.c fails on ia32 with PIC/PIE: the address/value of my_guard > is loaded from the GOT, instead of appearing as %gs:my_guard. > When

[Bug c++/105634] [9/10/11/12 Regression] ICE: Floating point exception in maybe_warn_class_memaccess

2022-07-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105634 Marek Polacek changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/106357] [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

2022-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357 --- Comment #4 from Jonathan Wakely --- This changed intentionally with r12-85-g5f8aed72e76970 c++: Refine enum direct-list-initialization [CWG2374] This implements the wording changes of CWG2374, which clarifies the wording of

[Bug c++/106357] [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

2022-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357 --- Comment #3 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #1) > I think the testcase is invalid as the enum does not have "fixed underlying > type" Scoped enums always have a fixed underlying type.

[Bug target/81708] The x86 stack canary location should be customizable

2022-07-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #16 from Uroš Bizjak --- (In reply to Alexandre Oliva from comment #15) > Uroš, > > stack-prot-sym.c fails on ia32 with PIC/PIE: the address/value of my_guard > is loaded from the GOT, instead of appearing as %gs:my_guard. > >

[Bug c++/106357] [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c++/106357] [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357 --- Comment #1 from Andrew Pinski --- I think the testcase is invalid as the enum does not have "fixed underlying type"

[Bug c++/106357] New: [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails

2022-07-19 Thread enolan at alumni dot cmu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106357 Bug ID: 106357 Summary: [12/13 Regression] direct-list-initialization of enum class from a variable of another enum class type fails Product: gcc Version: 12.1.1

[Bug target/81708] The x86 stack canary location should be customizable

2022-07-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 Alexandre Oliva changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug target/83782] [10/11 Regression] Inconsistent address for hidden ifunc in a shared library

2022-07-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782 --- Comment #9 from H.J. Lu --- (In reply to Alexandre Oliva from comment #8) > I'm running into some problems that are related with this PR. > > First off, on i686-linux-gnu with --enable-default-pie, attr-ifunc-3.c fails > to link with e.g.

[Bug target/106356] static-pie for arm not implemented

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106356 --- Comment #1 from Andrew Pinski --- Patches goto gcc-patches@ after read https://gcc.gnu.org/contribute.html

[Bug driver/106356] New: static-pie for arm not implemented

2022-07-19 Thread lancethepants at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106356 Bug ID: 106356 Summary: static-pie for arm not implemented Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver

[Bug tree-optimization/106352] SLP seems to need temporary variables

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 --- Comment #3 from Andrew Pinski --- Oh the non loop based slp, does not add alias checks. And you just enabled that. I think this is a won't fix as adding of aliasing checks for non loop based slp, adds way too much overhead and might (will)

[Bug tree-optimization/106352] SLP seems to need temporary variables

2022-07-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 --- Comment #2 from Andrew Pinski --- I have to double check but the testcase might be hard to produce alias checks too. Marking the incoming arguments with restrict will also "fix" the code gen.

[Bug c++/95454] type-level nodiscard not applied to constructors

2022-07-19 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95454 --- Comment #3 from Johel Ernesto Guerrero Peña --- > A workaround would be to declare the constructor(s) [[nodiscard]]: That's generally a [better recommendation](https://github.com/mpusz/units/issues/136). Though I think you'd have to `=

[Bug other/106355] New: Linux s390x -O2 argument passing miscompile

2022-07-19 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355 Bug ID: 106355 Summary: Linux s390x -O2 argument passing miscompile Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug analyzer/106321] False positives from -Wanalyzer-tainted-array-index with switch with ranged cases

2022-07-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106321 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/106354] Diagnostic could be more user friendly

2022-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106354 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|

[Bug libstdc++/96766] std::swap(std::variant, std::variant) triggers undefined behavior sanitizer

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96766 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:20ab3972240aff596a3fa98e9fb09ddc0658fbb3 commit r13-1749-g20ab3972240aff596a3fa98e9fb09ddc0658fbb3 Author: Marco Falke Date:

[Bug analyzer/106284] False positives from -Wanalyzer-tainted-array-index with optimized conditionals

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106284 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:434d521d118fc7e7759b2b42bdddfa70caec637b commit r13-1747-g434d521d118fc7e7759b2b42bdddfa70caec637b Author: David Malcolm Date:

[Bug analyzer/106321] False positives from -Wanalyzer-tainted-array-index with switch with ranged cases

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106321 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2c044ff123ee573b7cd63d88f544091b7aeeb8f6 commit r13-1748-g2c044ff123ee573b7cd63d88f544091b7aeeb8f6 Author: David Malcolm Date:

[Bug c++/106354] New: Diagnostic could be more user friendly

2022-07-19 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106354 Bug ID: 106354 Summary: Diagnostic could be more user friendly Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/106346] Potential regression on vectorization of left shift with constants

2022-07-19 Thread manolis.tsamis at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106346 --- Comment #2 from manolis.tsamis at vrull dot eu --- I bisected the changes from GCC 10.3 onwards and the first commit that results in the "worse" version of the generated code is 9fc9573f9a5e9432e53c7de93985cfbd267f0309: [2/3] [vect] Add

[Bug fortran/106353] [suboptimal] Why is a 3D array initialized, use case 2 two-layer loop?

2022-07-19 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106353 --- Comment #2 from Michael Matz --- True, but in this case it could also be emitted in a better way by the fortran frontend.

[Bug tree-optimization/106352] SLP seems to need temporary variables

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/106353] [suboptimal] Why is a 3D array initialized, use case 2 two-layer loop?

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106353 Richard Biener changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment

[Bug c++/95454] type-level nodiscard not applied to constructors

2022-07-19 Thread kyrylo.bohdanenko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95454 Kyrylo Bohdanenko changed: What|Removed |Added CC||kyrylo.bohdanenko at gmail dot com

[Bug target/106101] [12/13 Regression] ICE in reg_bitfield_target_p since r12-4428-g147ed0184f403b

2022-07-19 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #11 from Andreas Krebbel --- I've tried to change our movstrict backend patterns to use a predicate on the dest operand which enforces a subreg. However, since reload strips the subreg away when assigning hard regs we end up with a

[Bug middle-end/106331] [10/11 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 Richard Biener changed: What|Removed |Added Summary|[10/11/12 Regression] Whole |[10/11 Regression] Whole

[Bug c/105969] [12 Regression] ICE in Floating point exception since r13-750-g10d1986aee47c5

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105969 Richard Biener changed: What|Removed |Added Known to work||12.1.1 Known to fail|12.1.1

[Bug tree-optimization/105971] [12 Regression] ICE in bitmap_check_index, at sbitmap.h:104

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105971 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug tree-optimization/105965] [10/11 Regression] x86: single-element vectors don't have scalar FMA insns used anymore

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105965 Richard Biener changed: What|Removed |Added Summary|[10/11/12 Regression] x86: |[10/11 Regression] x86:

[Bug middle-end/105604] [10/11 Regression] ICE: in tree_to_shwi with vla in struct and sprintf

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105604 Bug 105604 depends on bug 105969, which changed state. Bug 105969 Summary: [12 Regression] ICE in Floating point exception since r13-750-g10d1986aee47c5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105969 What|Removed

[Bug middle-end/106331] [10/11/12 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1a7200da71550e6f92da66f0b328bb20d3bcdf35 commit r12-8584-g1a7200da71550e6f92da66f0b328bb20d3bcdf35 Author: Richard

[Bug c++/105946] [12 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105946 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/106112] [10/11/12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r10-2711-g3ed01d5408045d80

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106112 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:854ab8be5d9ddfc5b4d57a5c040d1811a89fbe4f commit r12-8582-g854ab8be5d9ddfc5b4d57a5c040d1811a89fbe4f Author: Richard

[Bug tree-optimization/106131] [10/11/12 Regression] -fstrict-aliasing breaks normal program that does not use any pointer or reference

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106131 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ec9287ba9718871aa64900d6168105802e1ca941 commit r12-8583-gec9287ba9718871aa64900d6168105802e1ca941 Author: Richard

[Bug c/105969] [12 Regression] ICE in Floating point exception since r13-750-g10d1986aee47c5

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105969 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:4f34a9e8d5ffcef99a212180d58718b00bdbb7d2 commit r12-8579-g4f34a9e8d5ffcef99a212180d58718b00bdbb7d2 Author: Richard

[Bug rtl-optimization/105459] [12 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/105965] [10/11/12 Regression] x86: single-element vectors don't have scalar FMA insns used anymore

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105965 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1fe7321a6ce0dcb05763c8f1850a066824516342 commit r12-8578-g1fe7321a6ce0dcb05763c8f1850a066824516342 Author: Richard

[Bug middle-end/106027] [11/12 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106027 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:71c6baa9abc8c378a1aa913398a8f1a2277946e0 commit r12-8581-g71c6baa9abc8c378a1aa913398a8f1a2277946e0 Author: Richard

[Bug tree-optimization/105971] [12 Regression] ICE in bitmap_check_index, at sbitmap.h:104

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105971 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8dd1c404ec77c6d2cdaaf93d219e3250081355c0 commit r12-8580-g8dd1c404ec77c6d2cdaaf93d219e3250081355c0 Author: Richard

[Bug c++/105946] [12 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105946 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:92aa9490315d969d6e7580fb6e8d006415877bd6 commit r12-8577-g92aa9490315d969d6e7580fb6e8d006415877bd6 Author: Richard

[Bug rtl-optimization/105459] [12 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #15 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:4ed850a568e4d27a2df566f13843714ca80d437e commit r12-8576-g4ed850a568e4d27a2df566f13843714ca80d437e Author: Richard

[Bug fortran/106353] New: [suboptimal] Why is a 3D array initialized, use case 2 two-layer loop?

2022-07-19 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106353 Bug ID: 106353 Summary: [suboptimal] Why is a 3D array initialized, use case 2 two-layer loop? Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/106347] [13 Regression] ICE in ix86_output_ssemov, at config/i386/i386.cc:5565, or ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) since r13-1607-gc3ed9e0d6e96d869

2022-07-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106347 --- Comment #4 from Roger Sayle --- No, it's not PR 106278 that this PR is similar to (which concerned REG_EQUAL notes and is now fixed), but PR 106303 (which concerns STV converting some mentions of a TImode register/memory, and not others,

[Bug target/106342] [12/13 Regression] internal compiler error: in extract_insn, at recog.cc:2791

2022-07-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106342 --- Comment #2 from Martin Liška --- Hm, can you see it with a cross compiler (me now)?

[Bug target/106347] [13 Regression] ICE in ix86_output_ssemov, at config/i386/i386.cc:5565, or ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn) since r13-1607-gc3ed9e0d6e96d869

2022-07-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106347 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[13 Regression]

[Bug c++/106351] ICE in fold expression involving templatized lambda

2022-07-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106351 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106341] Template argument deduction of template value parameter crashes compiler

2022-07-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106341 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug c++/93383] ICE on accessing field of a structure which is non-type template parameter, -std=c++2a

2022-07-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93383 Martin Liška changed: What|Removed |Added CC||lissheidr.spam at gmail dot com ---

[Bug tree-optimization/106352] New: SLP seems to need temporary variables

2022-07-19 Thread eochoa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 Bug ID: 106352 Summary: SLP seems to need temporary variables Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/106334] [13 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6072

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106334 Richard Biener changed: What|Removed |Added Keywords||ice-checking

[Bug middle-end/106331] [10/11/12 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 Richard Biener changed: What|Removed |Added Target Milestone|12.2|10.5 Known to work|11.3.1

[Bug fortran/106331] [12/13 Regression] Whole array assignment of empty string segfaults with -Og since r12-2633-ge5e164effa30fd2b

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106331 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e4ff11a8f2e80adb8ada69bf35ee6a1ab18a9c85 commit r13-1743-ge4ff11a8f2e80adb8ada69bf35ee6a1ab18a9c85 Author: Richard Biener Date:

[Bug lto/106334] [13 Regression] lto -g ICE in dwarf2out_register_external_die at dwarf2out.cc:6072

2022-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106334 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0f129766fdb687394f0eea04f69268b5cc034cda commit r13-1742-g0f129766fdb687394f0eea04f69268b5cc034cda Author: Richard Biener Date:

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #30 from Richard Biener --- (In reply to Richard Earnshaw from comment #29) > Thanks for having a look, yes, I was at a loss to understand how that change > (which is before the problematic hunk would be the cause of the problem.

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-19 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #29 from Richard Earnshaw --- Thanks for having a look, yes, I was at a loss to understand how that change (which is before the problematic hunk would be the cause of the problem. It looks like we can rule that change out as a real

[Bug tree-optimization/106350] O3 memcpy warning when prepending a length-1 string literal to a constant std::string

2022-07-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106350 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/106322] i386: Wrong code at O2 level (O0 / O1 are working)

2022-07-19 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322 --- Comment #10 from Uroš Bizjak --- (In reply to Mathieu Malaterre from comment #9) > Technically I can also execute the `uint16` portion of the unit test and > produce a failure (so this seems to be consistent behavior with signed >

[Bug target/106231] sign-extension of the result of `__builtin_ctz`

2022-07-19 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106231 Roger Sayle changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug target/106347] [13 Regression] ICE in ix86_output_ssemov, at config/i386/i386.cc:5565, or ICE in final_scan_insn_1, at final.cc:2860 (error: could not split insn)

2022-07-19 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106347 --- Comment #2 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > It looks like a dup of PR106278 and It seems PR106278 is not fully fixed.

  1   2   >