[Bug ipa/106716] Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106716 --- Comment #3 from Andrew Pinski --- [[unlikely]]/[[likely]] attribute gets expanded into PREDICT_EXPR:PRED_HOT_LABEL/PRED_COLD_LABEL:TAKEN/NOT_TAKEN see cp/cp-gimplify.cc (process_stmt_hotness_attribute) and is removed. And that is all done

[Bug ipa/106716] Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes

2022-08-22 Thread tomerv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106716 --- Comment #2 from Tomer Vromen --- IMO, attribute information should be checked in this optimization stage, so that ipa-icf knows the functions are different. It seems like maybe this is already partially the behavior - removing the attribute

[Bug tree-optimization/106099] [13 Regression] ICE in execute_todo, at passes.cc:2134 since r13-1204-gd68d366425369649

2022-08-22 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106099 --- Comment #11 from Zdenek Sojka --- And with another degenerate flags on the testcase above: # x86_64-pc-linux-gnu-gcc -O -fno-tree-forwprop -fno-tree-dominator-opts -fharden-conditional-branches -funreachable-traps -fno-tree-ccp

[Bug tree-optimization/106717] New: [13 Regression] ICE: tree check: expected integer_cst, have poly_int_cst in get_len, at tree.h:6247

2022-08-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106717 Bug ID: 106717 Summary: [13 Regression] ICE: tree check: expected integer_cst, have poly_int_cst in get_len, at tree.h:6247 Product: gcc Version: 13.0 Status:

[Bug other/91085] [10/11 only] fixincludes breaks

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91085 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Summary|fixincludes

[Bug rtl-optimization/106707] [13 Regression] ICE: in cselib_record_set, at cselib.cc:2687 with -Oz -g -fno-cprop-registers -fno-dce since r13-1945-gfc6ef90173478521

2022-08-22 Thread yinyuefengyi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106707 --- Comment #4 from Xionghu Luo (luoxhu at gcc dot gnu.org) --- Maybe guard the pattern with... diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 58fcc382fa2..2a9d70da6d0 100644 --- a/gcc/config/i386/i386.md +++

[Bug testsuite/106516] New test case gcc.dg/pr104992.c fails on power 10

2022-08-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106516 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2022-08-22 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 106687, which changed state. Bug 106687 Summary: [13 Regression] Wrong code with -O2 since r13-438-gcf2141a0c640fc9b https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106687 What|Removed

[Bug tree-optimization/106687] [13 Regression] Wrong code with -O2 since r13-438-gcf2141a0c640fc9b

2022-08-22 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106687 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/106687] [13 Regression] Wrong code with -O2 since r13-438-gcf2141a0c640fc9b

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106687 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:de6d9e0b3d5c08896cbf047b299fc7f8d1e42be7 commit r13-2147-gde6d9e0b3d5c08896cbf047b299fc7f8d1e42be7 Author: Andrew MacLeod Date:

[Bug ipa/106716] Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106716 --- Comment #1 from Andrew Pinski --- I suspect fipa-icf does not compare the branch predication data while doing the comparison. I don't know if this is the right thing to do or not. Because if there was exact data from profiling feedback then

[Bug ipa/106716] New: Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes

2022-08-22 Thread tomerv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106716 Bug ID: 106716 Summary: Identical Code Folding (-fipa-icf) confuses between functions with different [[likely]] attributes Product: gcc Version: 12.1.0 Status:

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.3

[Bug libstdc++/106695] [11/12/13 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5abe0657553580bd1b7488dd84d55138a8d9f23c commit r13-2144-g5abe0657553580bd1b7488dd84d55138a8d9f23c Author: Jonathan Wakely

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cc4fa7a210b638d6a46f14dab17f2361389d18e1 commit r13-2145-gcc4fa7a210b638d6a46f14dab17f2361389d18e1 Author: Jonathan Wakely

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1b09eea33f2bf9d1eae73b25cc25efb05ea1dc3f commit r13-2143-g1b09eea33f2bf9d1eae73b25cc25efb05ea1dc3f Author: Jonathan Wakely

[Bug fortran/100948] [12/13 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2022-08-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to José Rui Faustino de Sousa from comment #6) > Created attachment 51002 [details] > Patch and changelog I took a look at the attached patch. While it does resolve the ICE on the

[Bug target/106564] PRU: Inefficient zero-extend from 32-bit to 64-bit unsigned values

2022-08-22 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106564 Dimitar Dimitrov changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/106564] PRU: Inefficient zero-extend from 32-bit to 64-bit unsigned values

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106564 --- Comment #1 from CVS Commits --- The master branch has been updated by Dimitar Dimitrov : https://gcc.gnu.org/g:10dd6dea95c5fc41c789c6506338e101e0590a02 commit r13-2140-g10dd6dea95c5fc41c789c6506338e101e0590a02 Author: Dimitar Dimitrov

[Bug testsuite/106516] New test case gcc.dg/pr104992.c fails on power 10

2022-08-22 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106516 --- Comment #4 from Peter Bergner --- (In reply to Kewen Lin from comment #2) > Confirmed, this is a test issue, power10 and up specific. > > The difference comes from the function thud, it aims to test the pattern > works for vector type.

[Bug fortran/106557] nesting intrinsics ibset and transfer gives wrong result

2022-08-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106557 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/106557] nesting intrinsics ibset and transfer gives wrong result

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106557 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7e51df048ae849115e12bf12702bdf1b65893be7 commit r13-2139-g7e51df048ae849115e12bf12702bdf1b65893be7 Author: Harald Anlauf Date:

[Bug c++/106713] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #2 from Arsen Arsenović --- Created attachment 53491 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53491=edit Reduced test case Alright, managed to get a reduced test case out of C-Vise. Though, this doesn't build on clang

[Bug middle-end/106715] [OpenMP][5.2] Permit 'order' clause with 'for simd'/'do simd'

2022-08-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106715 Tobias Burnus changed: What|Removed |Added Summary|[OpenMP][5.2] Permit|[OpenMP][5.2] Permit

[Bug middle-end/106715] [OpenMP][5.2] Permit 'order' clause with 'for simd'/'do simd' + improve error message

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106715 --- Comment #1 from Jakub Jelinek --- It is not just internally, it is what the standard says. So, ordered is closely nested in simd, but not closely nested in worksharing-loop.

[Bug middle-end/106715] New: [OpenMP][5.2] Permit 'order' clause with 'for simd'/'do simd' + improve error message

2022-08-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106715 Bug ID: 106715 Summary: [OpenMP][5.2] Permit 'order' clause with 'for simd'/'do simd' + improve error message Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/106714] New: Incorrect casts macros in amxtileintrin.h

2022-08-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106714 Bug ID: 106714 Summary: Incorrect casts macros in amxtileintrin.h Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/106662] [OpenMP] 'for simd firstprivate(j) lastprivate(j)' with 'parallel shared(j)' gives unexpected result

2022-08-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106662 --- Comment #1 from Tobias Burnus --- "Likewise with a combined construct:" – Strike that I think that's not quite right. Seems that one expert on omp-lang believes that for this "worksharing-simd construct and firstprivate" example in comment

[Bug target/103370] [12/13 Regression] Assembler error building glibc for ColdFire soft-float

2022-08-22 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103370 --- Comment #8 from Joseph S. Myers --- This build failure has come back on GCC mainline, some time between commit 3cab897a67af120aa18efa7ddd7ee49b9a29e5dd and 7f5ec900e53f6c7f7c06c641b4fb303ebdc83785.

[Bug c++/106712] Incorrect propagation of C++11 attributes to subsequent function declarations

2022-08-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106712 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/106709] [12/13 Regression] GCC incorrectly warns about stringop-overread

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106709 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3

[Bug tree-optimization/106709] [12/13 Regression] GCC incorrectly warns about stringop-overread

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106709 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106713] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 --- Comment #1 from Arsen Arsenović --- Created attachment 53490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53490=edit Preprocessed test (gz-compressed)

[Bug c++/106599] Wrong copy elision in delegating to copy-constructor

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106599 --- Comment #5 from Jonathan Wakely --- This delegating constructor example seems like a third case of https://wg21.link/cwg2403

[Bug c++/106713] New: Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2

2022-08-22 Thread arsen at aarsen dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 Bug ID: 106713 Summary: Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2 Product: gcc Version: 11.3.0 Status: UNCONFIRMED

[Bug c++/106599] Wrong copy elision in delegating to copy-constructor

2022-08-22 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106599 --- Comment #4 from Fedor Chelnokov --- And if one deletes copy constructor of A: struct A { constexpr A() = default; constexpr A(const A&) = delete; constexpr A(int) : A(A()) {} }; A a(2); Then Clang rejects the program,

[Bug tree-optimization/106711] Incorrect format overflow warning with previously checked strings

2022-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106711 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/103629] [11/12/13 Regression] Possible miscompilation visible using pthread + exception

2022-08-22 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 Mathieu Malaterre changed: What|Removed |Added Known to fail||12.1.0 --- Comment #21 from

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

2022-08-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #17 from Segher Boessenkool --- (In reply to Andreas Krebbel from comment #16) > (In reply to Segher Boessenkool from comment #15) > > (In reply to Andreas Krebbel from comment #14) > > > > So you are suggesting that every

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

2022-08-22 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #16 from Andreas Krebbel --- (In reply to Segher Boessenkool from comment #15) > (In reply to Andreas Krebbel from comment #14) > > > So you are suggesting that every strict_low_part after reload can just be > > > removed? If that

[Bug rtl-optimization/96475] direct threaded interpreter with computed gotos generates suboptimal dispatch loop

2022-08-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96475 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 --- Comment #16 from Jakub Jelinek --- (In reply to Tobias Burnus from comment #15) > Besides the post-commit comment by Thomas (last comment before mine; comment > 14), > there is another issue: > The commit causes for SPEC HPC2021's

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

2022-08-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #15 from Segher Boessenkool --- (In reply to Andreas Krebbel from comment #14) > > So you are suggesting that every strict_low_part after reload can just be > > removed? If that is true, should we not just do exactly that then? >

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2022-08-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 --- Comment #15 from Tobias Burnus --- Besides the post-commit comment by Thomas (last comment before mine; comment 14), there is another issue: The commit causes for SPEC HPC2021's 521.miniswp_t (OpenMP) 400% slowdown. The question is whether

[Bug c++/106712] Incorrect propagation of C++11 attributes to subsequent function declarations

2022-08-22 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106712 --- Comment #1 from Ed Catmur --- I believe this is happening because start_decl can modify prefix_attributes (by first chaining it onto attributes, then passing the merged chain to grokdeclarator which can then chain onto that merged chain).

[Bug c++/106712] New: Incorrect propagation of C++11 attributes to subsequent function declarations

2022-08-22 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106712 Bug ID: 106712 Summary: Incorrect propagation of C++11 attributes to subsequent function declarations Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug lto/106700] [13 Regression] O_NONBLOCK does not exist for x86_64-w64-mingw32 host

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106700 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/106700] [13 Regression] O_NONBLOCK does not exist for x86_64-w64-mingw32 host

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106700 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:827f64135957ce21617cd0345508077439fa29d8 commit r13-2137-g827f64135957ce21617cd0345508077439fa29d8 Author: Martin Liska Date:

[Bug libstdc++/106607] Regex integer overflow on large backreference value

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106607 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/106599] Wrong copy elision in delegating to copy-constructor

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106599 --- Comment #3 from Jonathan Wakely --- (In reply to Fedor Chelnokov from comment #0) > So we need to consider the constructors, and select A(const A&) : v(1) We do select that, but then for C++17 (and later) the copy is elided, which is

[Bug c/106711] New: Incorrect format overflow warning with previously checked strings

2022-08-22 Thread ljrk at ljrk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106711 Bug ID: 106711 Summary: Incorrect format overflow warning with previously checked strings Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2022-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 --- Comment #9 from Richard Biener --- uninit analysis has the guarding condition r_14(D) <= 18 but the guard of the PHI is computed in non-optimal way since this is a PHI use of a PHI with an uninitialized val on an edge but the paths we

[Bug c/106710] New: Ability to disable -Wfree-nonheap-object for specific free() implementations

2022-08-22 Thread ljrk at ljrk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106710 Bug ID: 106710 Summary: Ability to disable -Wfree-nonheap-object for specific free() implementations Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c/106709] New: GCC incorrectly warns about stringop-overread

2022-08-22 Thread ljrk at ljrk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106709 Bug ID: 106709 Summary: GCC incorrectly warns about stringop-overread Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug demangler/106622] Bug report

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106622 --- Comment #2 from Jonathan Wakely --- Also please check whether this is a duplicate of Bug 104435, Bug 105115, Bug 106224, or Bug 106641.

[Bug demangler/105115] `demangle_const` causes infinite recursion and stack overflow

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105115 --- Comment #3 from Jonathan Wakely --- Maybe a dup of PR 104435

[Bug demangler/106622] Bug report

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106622 --- Comment #1 from Jonathan Wakely --- Please provide a more useful title than "Bug report". Everything in bugzilla is a bug report.

[Bug c++/106631] Unhelpful diagnostic on variable template specialization with unknown name

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106631 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-08-22

[Bug c++/106629] GCC accepts invalid program involving {1,2,3,4} as template argument

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106629 --- Comment #5 from Jonathan Wakely --- (In reply to Andrew Pinski from comment #4) > Even though cppreference is not part of the C++ standard. It would be useful > to put a reference to that defect report on >

[Bug libstdc++/106695] [11/12/13 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/106695] [11/12/13 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 --- Comment #2 from Jonathan Wakely --- Probably r11-2736-gbb1b7f087bdd02

[Bug c++/106614] GCC skips using copy constructor when creating object using direct initialization in A a({A{}});

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106614 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/106599] Wrong copy elision in delegating to copy-constructor

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106599 Jonathan Wakely changed: What|Removed |Added CC||jlame646 at gmail dot com ---

[Bug libstdc++/78717] no definition of string::find when lowered to gimple

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78717 --- Comment #4 from Jonathan Wakely --- This is because the std::basic_string::find function isn't marked 'inline' and there is an explicit instantiation declaration for std::string. GCC simply won't inline a non-inline function if there's an

[Bug c++/82113] RVO isn't applied to base class constructor call in C++17

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82113 --- Comment #2 from Jonathan Wakely --- c.f. https://wg21.link/cwg2403

[Bug c++/90413] Bad diagnostic when trying to copy an uncopyable type

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

[Bug c++/106176] Compiler diagnostic doesn't show where it's coming from in my code

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106176 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/106176] Compiler diagnostic doesn't show where it's coming from in my code

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106176 Jonathan Wakely changed: What|Removed |Added CC||accelerator0099 at gmail dot com

[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error

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

[Bug gcov-profile/106659] [13 Regression] error: no member named 'fancy_abort' in namespace 'std'; did you mean simply 'fancy_abort'

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106659 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/80858] When trying to copy std::unordered_map illegally, error message doesn't tell what's wrong

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80858 Jonathan Wakely changed: What|Removed |Added CC||accelerator0099 at gmail dot com ---

[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/106696] Fallthrough between functions without proper return statement when optimizing

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106696 --- Comment #5 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #3) > Because of the C++ vs. C differences, -Wreturn-type warning is on by default > in C++ while it is only included in -Wall for C, users just shouldn't ignore >

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

2022-08-22 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #14 from Andreas Krebbel --- (In reply to Segher Boessenkool from comment #13) > (Sorry I missed this) > > (In reply to Andreas Krebbel from comment #11) > > I've tried to change our movstrict backend patterns to use a predicate on

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #19 from Jonathan Wakely --- I suppose the libstdc++ header could do something like: #pragma GCC diagnostic push #if defined __SANITIZE_ADDRESS__ && defined __OPTIMIZE__ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #endif

[Bug libstdc++/86164] std::regex crashes when matching long lines

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164 --- Comment #14 from Jonathan Wakely --- Running out of stack space is not acceptable, that's why this is considered a bug. As already stated in comment 8, I started work on fixing it, but the rewritten code had bugs that I haven't had time to

[Bug c/106672] support Apple's old __private_extern__ keyword

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106672 --- Comment #1 from Jonathan Wakely --- The macro seems appropriate for old code relying on a deprecated feature. I don't think GCC should support this.

[Bug c++/106423] -Wc++20-compat diagnostics not suppressed by #pragma GCC diagnostic ignored

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106423 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[Bug c++/106572] A programmatic list of all possible compiler warnings

2022-08-22 Thread j.badwaik--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106572 --- Comment #8 from Jayesh Badwaik --- > Oh and you don't need the tr either that is any whitespace in a response > file is will be treated as a seperator. > So just: > g++ -Q --help=warnings | tail -n +2 | awk '{print $1}' > cxxflags.opt

[Bug rtl-optimization/96475] direct threaded interpreter with computed gotos generates suboptimal dispatch loop

2022-08-22 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96475 Paweł Bylica changed: What|Removed |Added CC||chfast at gmail dot com --- Comment #25

[Bug c++/106572] A programmatic list of all possible compiler warnings

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106572 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug preprocessor/106426] UTF-8 character literals do not have unsigned type in the preprocessor in -fchar8_t mode

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106426 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/106646] [C++23] P2437R1 - Support for #warning

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106646 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-08-22 Ever confirmed|0

[Bug lto/106328] Build doesn't respect -j N flag

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106328 --- Comment #11 from Martin Liška --- > Ah, indeed. That still leaves the question whether we execute the > WPA stage with the FDs open - I suppose you checked? Yes, I can confirm it correctly works on Linux with FDs provided by jobserver. >

[Bug target/106708] New: [rs6000] 64bit constant generation with oris xoris

2022-08-22 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106708 Bug ID: 106708 Summary: [rs6000] 64bit constant generation with oris xoris Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/98940] Implement C++23 language features

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98940 Bug 98940 depends on bug 106645, which changed state. Bug 106645 Summary: [C++23] P2290R3 - Delimited escape sequences https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645 What|Removed |Added

[Bug c++/106645] [C++23] P2290R3 - Delimited escape sequences

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106645 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug lto/106686] [lto][offloading] lto-wrapper leaves "target.o" temporay files behind when error diagnostic occurred

2022-08-22 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106686 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug rtl-optimization/106707] [13 Regression] ICE: in cselib_record_set, at cselib.cc:2687 with -Oz -g -fno-cprop-registers -fno-dce since r13-1945-gfc6ef90173478521

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

[Bug c++/106689] gcc crash while compiling a generic lambda

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

[Bug lto/106686] [lto][offloading] lto-wrapper leaves "target.o" temporay files behind when error diagnostic occurred

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106686 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:e228683b244c6afbe3bdfef7ba607fbda813bd0f commit r13-2135-ge228683b244c6afbe3bdfef7ba607fbda813bd0f Author: Tobias Burnus Date:

[Bug libstdc++/106695] [11/12/13 Regression] Explicit copy constructor does not work for a parameter passed via std::async

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106695 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2022-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 --- Comment #18 from Richard Biener --- (In reply to Sven Hesse from comment #17) > I still get this with gcc 12.2.0 (Gentoo 12.2.0 p9), but only when compiling > with (at least with) -O1 -fsanitize=address, in addition to any warning flag >

[Bug c++/106675] [10/11/12/13 Regression] g++ crashes on funky operators

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

[Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx

2022-08-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 --- Comment #8 from Hongtao.liu --- _5 = VIEW_CONVERT_EXPR(mask_4(D)); _6 = _5 < { 0, 0, 0, 0, 0, 0, 0, 0 }; _7 = VEC_COND_EXPR <_6, b_3(D), a_2(D)>; It's lowered ly veclower since vcondv8sfv8si and vec_cmpv8si is define under AVX2.

[Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx

2022-08-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 --- Comment #7 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > get_vcond_icode (vmode=E_V8SFmode, cmode=E_V8SImode, uns=false) at > /home/rguenther/src/trunk/gcc/optabs-query.h:117 > > gets us CODE_FOR_nothing though,

[Bug c/106702] [11 Regression] ICE with LTO: internal compiler error: tree code ‘c_maybe_const_expr’ is not supported in LTO streams

2022-08-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106702 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx

2022-08-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #6

[Bug rtl-optimization/106707] [13 Regression] ICE: in cselib_record_set, at cselib.cc:2687 with -Oz -g -fno-cprop-registers -fno-dce

2022-08-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106707 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/106704] [12/13 Regression] avx intrinsic not generating vblendvps instruction with -mavx

2022-08-22 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 --- Comment #5 from rguenther at suse dot de --- On Mon, 22 Aug 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106704 > > --- Comment #4 from Jakub Jelinek --- > So perhaps the

  1   2   >