[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-09 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #14 from rguenther at suse dot de --- On Wed, 9 Mar 2022, muecker at gwdg dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 > > --- Comment #12 from Martin Uecker --- > (In reply to Richard Biener from comment #1

[Bug rtl-optimization/104839] [12 Regression] ppc64 regression of GCC 12: conditional long += long becomes unconditional SUBFC

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104839 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7ca24ae5701769fccabf8cca4cad6987cb2187c6 commit r12-7556-g7ca24ae5701769fccabf8cca4cad6987cb2187c6 Author: Jakub Jelinek Date: W

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d76511138dc816ef66fd16f71531f48c37dac3b4 commit r12-7557-gd76511138dc816ef66fd16f71531f48c37dac3b4 Author: Jakub Jelinek Date: W

[Bug rtl-optimization/104839] [12 Regression] ppc64 regression of GCC 12: conditional long += long becomes unconditional SUBFC

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

[Bug c++/104836] ice in unify, at cp/pt.cc:24055

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104836 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug fortran/104429] [9/10/11/12 Regression] ICE in gfc_conv_variable, at fortran/trans-expr.cc:3056 since r9-2664-g1312bb902382cb48

2022-03-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104429 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #

[Bug rtl-optimization/104839] [12 Regression] ppc64 regression of GCC 12: conditional long += long becomes unconditional SUBFC

2022-03-09 Thread vstinner at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104839 --- Comment #8 from Victor Stinner --- > Fixed. Thank you! That was quick!

[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-09 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #15 from Martin Uecker --- (In reply to rguent...@suse.de from comment #13) > On Wed, 9 Mar 2022, muecker at gwdg dot de wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 > > > > --- Comment #11 from Martin Uecker -

[Bug middle-end/104800] reodering of potentially trapping operations and volatile stores

2022-03-09 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 --- Comment #16 from Martin Uecker --- (In reply to rguent...@suse.de from comment #14) > On Wed, 9 Mar 2022, muecker at gwdg dot de wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104800 > > > > --- Comment #12 from Martin Uecker -

[Bug c++/104846] [10/11/12 Regression] ICE: tree check: expected function_decl, have field_decl in grokmethod, at cp/decl.cc:17999

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104846 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Keywords|

[Bug c++/104734] -isystem hides -Woverloaded-virtual warning

2022-03-09 Thread albert.astals.cid at kdab dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104734 --- Comment #2 from Albert Astals Cid --- Created attachment 52589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52589&action=edit preprocessed source with -isystem

[Bug c++/104734] -isystem hides -Woverloaded-virtual warning

2022-03-09 Thread albert.astals.cid at kdab dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104734 --- Comment #3 from Albert Astals Cid --- Created attachment 52590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52590&action=edit preprocessed source with -I

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-09 Keywords|

[Bug c++/104734] -isystem hides -Woverloaded-virtual warning

2022-03-09 Thread albert.astals.cid at kdab dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104734 --- Comment #4 from Albert Astals Cid --- Added both the pre-processed source with both -isystem and -I They seem mostly the same except some ¿annotations/comments? Had to compress them with xz since otherwise they were too big to attach, hope

[Bug tree-optimization/104851] off-by-one out-of-bound access in supports_vec_convert_optab_p, at optabs-query.cc:725

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104851 --- Comment #1 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:1c7b110e1e44da0c93d0d011f5109c5d09bf4399 commit r12-7559-g1c7b110e1e44da0c93d0d011f5109c5d09bf4399 Author: Xi Ruoyao Date: Wed Mar 9

[Bug tree-optimization/104851] off-by-one out-of-bound access in supports_vec_convert_optab_p, at optabs-query.cc:725

2022-03-09 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104851 Xi Ruoyao changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2022-03-09 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 104851, which changed state. Bug 104851 Summary: off-by-one out-of-bound access in supports_vec_convert_optab_p, at optabs-query.cc:725 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104851 What|Removed

[Bug c++/104850] Instantiating a destructor for a template class too early, before the calling destructor is seen - rejects valid code

2022-03-09 Thread kirshamir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104850 --- Comment #2 from Amir Kirsh --- // adding the required include to the example #include // for nullptr_t template struct uptr { uptr(nullptr_t) {} ~uptr() { delete (new T); } }; class A { public: A(); ~A(); private:

[Bug fortran/104684] [9/10/11/12 Regression] ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'component_ref') since r7-5771-gde91486c745d5ff6

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104684 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5 Priority|P3

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug rtl-optimization/104814] [10/11/12 Regression] ifcvt: Deleting live variable in IF-CASE-2

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104814 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/104790] [12 Regression] ICE (insn does not satisfy its constraints) with MVE since r12-4374-g5efeaa0d29525fa28e189e6278c1b1651fb0d7bf

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104790 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Priority|P3

[Bug fortran/104844] CLASS actual to assumed-rank TYPE(*) wrongly passes declared instead of dynamic type

2022-03-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104844 --- Comment #2 from Tobias Burnus --- Mentioned patch was committed as r12-7558-ga5c9b7c4f95ef77b83da82241cabdf80d8b1cad5 Thus, when this PR is fixed, please uncomment the respective lines in gcc/testsuite/gfortran.dg/sizeof_6.f90

[Bug fortran/104845] Wrong array size for component of CLASS array element

2022-03-09 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104845 --- Comment #2 from Tobias Burnus --- Mentioned patch was committed as r12-7558-ga5c9b7c4f95ef77b83da82241cabdf80d8b1cad5 Thus, when this PR is fixed, please uncomment the respective lines in gcc/testsuite/gfortran.dg/sizeof_6.f90

[Bug tree-optimization/104789] [12 Regression] -Wstringop-overflow false positive at -O3 for an unrolled loop

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104789 Richard Biener changed: What|Removed |Added Keywords||diagnostic, |

[Bug middle-end/104786] [9/10/11/12 Regression] ICE with VLA type and "=X" constraint on inline-asm

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104786 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|NEW

[Bug tree-optimization/104759] [12 Regression] gcc.dg/vect/vect-multitypes-12.c FAILs

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104759 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Last reconfirmed|

[Bug d/104749] [12 regression] stage1 d21 fails to link on Solaris/x86

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104749 Richard Biener changed: What|Removed |Added Keywords||documentation --- Comment #7 from Rich

[Bug d/104538] gdc/d21: segfault on mips64

2022-03-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104538 Iain Buclaw changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 Iain Buclaw changed: What|Removed |Added CC||syq at debian dot org --- Comment #1 from

[Bug tree-optimization/104759] [11/12 Regression] gcc.dg/vect/vect-multitypes-12.c FAILs

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

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2022-03-09 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #28 from Richard Earnshaw --- I think the 'echo -n' problem can be solved by changing the one instance of that operation (in ask()) to printf "%s" "$question [$default]? " But I don't have the machines that are problematic to test

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2022-03-09 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #29 from Richard Earnshaw --- Suggested patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591455.html

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > I think the problem in this case are primarily the warning-control.cc > changes. > In GCC 11, build_vec_init did at the end: > /* Now make the result have the

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 --- Comment #5 from Richard Biener --- Btw, we could add verification for that in verify_expr_location_1 (either bit or spec but not both).

[Bug c++/104669] [11/12 Regression] ICE in is_function_default_version, at attribs.cc:1219

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104669 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/104666] [12 Regression] ICE in related_vector_mode, at stor-layout.c:537

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/104656] [12 Regression] trunk 20220222 ftbfs for bpf

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

[Bug tree-optimization/104603] [10/11/12 Regression] wrong detection of -Warray-bounds for interesting tail resusive case

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104603 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Priority

[Bug rtl-optimization/104541] [10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) with -O -fno-tree-ter -fsanitize-coverage=trace-cmp

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104541 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 --- Comment #6 from Richard Biener --- (In reply to Martin Sebor from comment #5) > Setting aside the question of warning about inequality expressions involving > invalid pointers, it seems that if the annotation 'candidates ={v} > {CLOBBER(eol)

[Bug middle-end/104492] [12 Regression] Bogus dangling pointer warning at -O3

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104492 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/104475] [12 Regression] Wstringop-overflow + atomics incorrect warning on dynamic object

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104475 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #7 fro

[Bug middle-end/104436] [12 Regression] spurious -Wdangling-pointer assigning local address to a class passed by value

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104436 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/104284] [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr since r9-6073-ge8b3c1bc3ba22dcf

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104284 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug libstdc++/104242] [12 Regression] Class with constructor from std::any is not copyable

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104242 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug fortran/104228] [9/10/11 Regression] ICE in df_install_ref, at df-scan.cc:2294 since r8-3589-g707905d0773e5a8e

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104228 Richard Biener changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9/10/11 Regression] ICE in

[Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug debug/104120] [10/11/12 Regression] slow compilation with only "-g3 -O1"; other opt levels are fine since r10-15-gf179b64e3ab013ff

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104120 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug modula2/104065] [12 Regression] trunk 20220117 fails to build modula2

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104065 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/103724] [9/10/11/12 Regression] invalid warning: iteration 7 invokes undefined behavior

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 --- Comment #6 from Richard Biener --- (In reply to Frank Heckenbach from comment #5) > (In reply to Richard Biener from comment #4) > > One thing we could do is annotate struct loop * with the (high level) > > optimizations we've applied so tha

[Bug middle-end/104786] [9/10/11/12 Regression] ICE with VLA type and "=X" constraint on inline-asm

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104786 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ba3ff5e35144e2afff4ccef4ccaba9870afb commit r12-7560-gba3ff5e35144e2afff4ccef4ccaba9870afb Author: Richard Biener Date:

[Bug tree-optimization/104759] [11/12 Regression] gcc.dg/vect/vect-multitypes-12.c FAILs

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104759 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4470e813b0b46d2e579b9e3d69a41a7192709c50 commit r12-7561-g4470e813b0b46d2e579b9e3d69a41a7192709c50 Author: Richard Biener Date:

[Bug middle-end/104786] [9/10/11 Regression] ICE with VLA type and "=X" constraint on inline-asm

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104786 Richard Biener changed: What|Removed |Added Known to work||12.0 Summary|[9/10/11/12 Re

[Bug tree-optimization/104759] [11/12 Regression] gcc.dg/vect/vect-multitypes-12.c FAILs

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104759 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e170b2362ab96967e727bbcdf59e964c94c29db8 commit r11-9645-ge170b2362ab96967e727bbcdf59e964c94c29db8 Author: Richard Biener

[Bug tree-optimization/104759] [11/12 Regression] gcc.dg/vect/vect-multitypes-12.c FAILs

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104759 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/65396] Function template default template arguments not merged

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65396 --- Comment #10 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:fe548eb8436f3906e6a3c6e3e8707d24e60ec0fa commit r12-7562-gfe548eb8436f3906e6a3c6e3e8707d24e60ec0fa Author: Patrick Palka Date: W

[Bug c++/87820] Explicit user-defined casting inside a template class working in implicit conversion inside function template

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87820 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e32869a17b788bee9ca782b174a546b1db17b5ea commit r12-7563-ge32869a17b788bee9ca782b174a546b1db17b5ea Author: Patrick Palka Date: We

[Bug c++/102137] class template argument deduction with template template parameter allows explicit deduction guide

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102137 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e32869a17b788bee9ca782b174a546b1db17b5ea commit r12-7563-ge32869a17b788bee9ca782b174a546b1db17b5ea Author: Patrick Palka Date: W

[Bug c++/104823] [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104823 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ec0f53a3a542e762f8fc8c22b9d345f922be5867 commit r12-7564-gec0f53a3a542e762f8fc8c22b9d345f922be5867 Author: Patrick Palka Date: W

[Bug c++/65396] Function template default template arguments not merged

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65396 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Status|ASSIGNED

[Bug c++/104702] [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-03-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 --- Comment #6 from Jakub Jelinek --- (In reply to Richard Biener from comment #4) > (In reply to Jakub Jelinek from comment #2) > > I think the problem in this case are primarily the warning-control.cc > > changes. > > In GCC 11, build_vec_init

[Bug c++/50370] [C++0x] Multiple declarations with default template arguments accepted

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50370 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug bootstrap/103547] [12 Regression] Bootstrap failure with --with-cpu=skylake-avx512

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

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #10 from Richard Biener --- Fixed?

[Bug c++/102137] class template argument deduction with template template parameter allows explicit deduction guide

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102137 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/87820] Explicit user-defined casting inside a template class working in implicit conversion inside function template

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87820 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned at g

[Bug c++/104823] [12 Regression] narrowing conversion inside non-dependent decltype operand silently accepted ever since r12-6075

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104823 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2022-03-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #30 from Jonathan Wakely --- Solaris /bin/echo doesn't understand -n jwakely@gcc-solaris11:~/src/gcc$ ./contrib/gcc-git-customization.sh -n Your name [Jonathan Wakely]? -n Your email address (for git commits) [jwak...@redhat.co

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2022-03-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #31 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #30) > I'd have done printf "%s [%s]?" "$question" "$default" instead, but they're > equivalent. Given that I've tested it and you're a global maintainer, I said

[Bug middle-end/103483] [12 regression] context-sensitive ranges change triggers stringop-overread

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103483 --- Comment #22 from Richard Biener --- There isn't going to be a good solution that makes all folks happy - we'd either have false negatives or false positives. It is true that we're accumulating more and more cases where the user gets the imp

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

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

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2022-03-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #32 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #30) > I'd have done printf "%s [%s]?" "$question" "$default" instead, but they're > equivalent. Oops, equivalent except for the missing space after the question

[Bug testsuite/103196] [12 regression] gcc.target/powerpc/p9-vec-length-full-7.c

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103196 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail --- Comment #4 from Ric

[Bug middle-end/104854] New: [11 Regression] -Wstringop-overread should not warn for strnlen and strndup

2022-03-09 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 Bug ID: 104854 Summary: [11 Regression] -Wstringop-overread should not warn for strnlen and strndup Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity:

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:caa6c33c5d5223c50657b08e73177e8d54ceee51 commit r12-7565-gcaa6c33c5d5223c50657b08e73177e8d54ceee51 Author: Jakub Jelinek Date: W

[Bug fortran/103039] [12 Regression] Segfault with openmp block within a select type block since r12-1016-g0e3b3b77e13cac76

2022-03-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103039 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-03-09 Ever confirmed|0

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2022-03-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #10

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2022-03-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 --- Comment #11 from Jason Merrill --- I'm surprised that adding the "artificial" attribute didn't work; I thought the main point of that attribute was to automatically skip the function in the debugger/profiler. I guess that never got implement

[Bug target/104838] [12 Regression] i686 gnat1 hangs since r12-7472-g609e8c492d62d924

2022-03-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104838 Jakub Jelinek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/104781] [12 regression] SEGV in _Unwind_GetGR during i386 Ada bootstrap

2022-03-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104781 --- Comment #11 from Jakub Jelinek --- I believe this should now be fixed, Rainer, can you please confirm?

[Bug middle-end/104854] [11/12 Regression] -Wstringop-overread should not warn for strnlen and strndup

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

[Bug c++/104765] Expression statement with a return in a lambda-parameter-default causes segfault when called in a different function

2022-03-09 Thread jun at junz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104765 Jun Zhang changed: What|Removed |Added CC||jun at junz dot org --- Comment #5 from Jun

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2022-03-09 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Richard Biener --- > Fixed? Not completely. I'd argue we should do two things: * Document that older GCC versions need to be built with --enable-libphobos (

[Bug tree-optimization/103724] [9/10/11/12 Regression] invalid warning: iteration 7 invokes undefined behavior

2022-03-09 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103724 --- Comment #7 from Frank Heckenbach --- (In reply to Richard Biener from comment #6) > (In reply to Frank Heckenbach from comment #5) > > (In reply to Richard Biener from comment #4) > > > One thing we could do is annotate struct loop * with th

[Bug c++/96780] debuginfo for std::move and std::forward isn't useful

2022-03-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96780 --- Comment #12 from Patrick Palka --- I should mention I noticed a significant reduction in compile time, memory usage and unstripped object file size in some cases with the proposed patch at https://gcc.gnu.org/pipermail/gcc-patches/2022-March/

[Bug middle-end/104854] [11/12 Regression] -Wstringop-overread should not warn for strnlen and strndup

2022-03-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/104855] New: -Wclass-memaccess is too broad with valid code

2022-03-09 Thread soap at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104855 Bug ID: 104855 Summary: -Wclass-memaccess is too broad with valid code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/104846] [10/11/12 Regression] ICE: tree check: expected function_decl, have field_decl in grokmethod, at cp/decl.cc:17999

2022-03-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104846 --- Comment #2 from Marek Polacek --- (In reply to Marek Polacek from comment #1) > Confirmed. Started with r10-2475-g777e426772f80c. It would be trivial to > bring back the grokmethod hunk to fix this ICE, but we should be more > helpful and

[Bug c++/96329] [11/12 Regression] ICE : tree check: expected string_cst, have error_mark in cp_parser_linkage_specification, at cp/parser.c:14640

2022-03-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96329 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.3

[Bug c++/96437] [10/11/12 Regression] ICE in tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in synthesize_implicit_template_parm, at cp/parser.c:44246

2022-03-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96437 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/96440] [9/10/11/12 Regression] ICE in tree check: expected tree_list, have error_mark in get_attribute_name, at attribs.c:841

2022-03-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96440 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ada/104856] New: Build gcc with a target not containing '-gnu' gets added to gnat target

2022-03-09 Thread bib_aab at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104856 Bug ID: 104856 Summary: Build gcc with a target not containing '-gnu' gets added to gnat target Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norm

[Bug middle-end/104854] [11/12 Regression] -Wstringop-overread should not warn for strnlen and strndup

2022-03-09 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104854 --- Comment #2 from Siddhesh Poyarekar --- (In reply to David Malcolm from comment #1) > Compiler Explorer link for the above (with -fanalyzer -Wall > -Wstringop-overread -O2; -O2 seems to be needed to trigger it): Ah yes, sorry, I pasted an ol

[Bug testsuite/104732] gcc.target/i386/pr100711-1.c FAILs

2022-03-09 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104732 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/103460] GCC rejected operator[](auto[]...) after P2128

2022-03-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103460 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104846] [10/11/12 Regression] ICE: tree check: expected function_decl, have field_decl in grokmethod, at cp/decl.cc:17999

2022-03-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104846 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ipa/104813] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963 since r12-2523-g13586172d0b70c9d

2022-03-09 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 --- Comment #4 from Martin Jambor --- I have proposed a patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591423.html

[Bug ada/104856] Build gcc with a target not containing '-gnu' gets added to gnat target

2022-03-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104856 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |WAITING CC|

  1   2   >