[Bug middle-end/102810] [11/12 Regression] Bogus Wstringop-overread passing a smaller array to an array parameter without a bound

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

[Bug target/103771] [12 Regression] Missed vectorization under -mavx512f -mavx512vl after r12-5489

2022-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103771 --- Comment #28 from Richard Biener --- (In reply to Hongtao.liu from comment #25) > in fold_unary_loc > ---cut from fold-const.cc- > 9276 else if (TREE_CODE (arg0) == COND_EXPR) > 9277{ > 9278 tree arg01 = TREE_OPER

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2022-01-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #21 from rguenther at suse dot de --- On Tue, 18 Jan 2022, amacleod at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 > > --- Comment #20 from Andrew Macleod --- > I think the anaylsis in comment 5 and

[Bug target/104110] AArch64 unnecessary use of call-preserved register

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104110 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-19 Keywords|ra

[Bug lto/98504] [11/12 Regression] bootstrap broken in libgo on ia64-linux-gnu

2022-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 Richard Biener changed: What|Removed |Added Priority|P3 |P4 --- Comment #14 from Richard Biener

[Bug middle-end/102860] [12 regression] libgomp.fortran/simd2.f90 ICEs after r12-4526

2022-01-18 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102860 --- Comment #9 from rguenther at suse dot de --- On Tue, 18 Jan 2022, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102860 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug target/104110] AArch64 unnecessary use of call-preserved register

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104110 Andrew Pinski changed: What|Removed |Added Target|aarch64 |aarch64*-*-* arm*-*-* --- Comment #2 fr

[Bug testsuite/102833] [12 regression] gcc.dg/vect/bb-slp-17.c FAILs

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

[Bug testsuite/102833] [12 regression] gcc.dg/vect/bb-slp-17.c FAILs

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102833 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:54e33cf120dab24ce44d7d6028e6247c9489092f commit r12-6722-g54e33cf120dab24ce44d7d6028e6247c9489092f Author: Richard Biener Date:

[Bug tree-optimization/102943] [12 Regression] Jump threader compile-time hog with 521.wrf_r

2022-01-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102943 Richard Biener changed: What|Removed |Added Last reconfirmed|2021-10-26 00:00:00 |2022-1-18 --- Comment #34 from Richard

[Bug target/104110] AArch64 unnecessary use of call-preserved register

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104110 Andrew Pinski changed: What|Removed |Added Keywords||ra --- Comment #1 from Andrew Pinski -

[Bug target/104110] New: AArch64 unnecessary use of call-preserved register

2022-01-18 Thread nate at thatsmathematics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104110 Bug ID: 104110 Summary: AArch64 unnecessary use of call-preserved register Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/104090] [10/11/12 Regression] powerpc: asm machine directive wrong for FSL processors

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104090 --- Comment #2 from CVS Commits --- The master branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:1ead972cef7622682c5e6c4fa563c4a894d6e0c3 commit r12-6721-g1ead972cef7622682c5e6c4fa563c4a894d6e0c3 Author: Sebastian Huber Date:

[Bug testsuite/104021] gcc.dg/vect/tsvc tests failures

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

[Bug testsuite/104021] gcc.dg/vect/tsvc tests failures

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104021 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:8160b410517e1e3493d92358579d380872acb3e8 commit r12-6720-g8160b410517e1e3493d92358579d380872acb3e8 Author: Rimvydas Jasinskas Date:

[Bug testsuite/104022] g++.dg/gcov/pr16855.C does not precleanup upon failures

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104022 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/104022] g++.dg/gcov/pr16855.C does not precleanup upon failures

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104022 --- Comment #4 from Martin Liška --- (In reply to Rimvydas (RJ) from comment #2) > Created attachment 52224 [details] > proposed patch > > I do not have write access. Would Signed-off-by version be OK? Sure, I've just installed that on your b

[Bug testsuite/104022] g++.dg/gcov/pr16855.C does not precleanup upon failures

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104022 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:32657045bd28f7d35c9b814d8b338c21e4f5dc40 commit r12-6719-g32657045bd28f7d35c9b814d8b338c21e4f5dc40 Author: Rimvydas Jasinskas Date:

[Bug ipa/103378] [12 Regression] ICE: verify_cgraph_node failed (error: semantic interposition mismatch) since r12-5412-g458d2c689963d846

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103378 --- Comment #5 from Martin Liška --- @Honza: Any progress with this one?

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

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

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:b01d2059c703d447827cc82e0e27e460a38bfa9f commit r12-6718-gb01d2059c703d447827cc82e0e27e460a38bfa9f Author: Martin Liska Date: Wed

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED CC|mliska at su

[Bug target/103771] [12 Regression] Missed vectorization under -mavx512f -mavx512vl after r12-5489

2022-01-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103771 --- Comment #27 from Hongtao.liu --- (In reply to Andrew Pinski from comment #26) > (In reply to Hongtao.liu from comment #25) > > > > gcc always tries to simplify (convert (cond (cmp a b) c d) > (cond (cmp > > a b) (convert c) (convert d)

[Bug target/103771] [12 Regression] Missed vectorization under -mavx512f -mavx512vl after r12-5489

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103771 --- Comment #26 from Andrew Pinski --- (In reply to Hongtao.liu from comment #25) > > gcc always tries to simplify (convert (cond (cmp a b) c d) > (cond (cmp > a b) (convert c) (convert d)), exactly the opposite of what this case wants. R

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/104015] [12 regression] gcc.dg/vect/slp-perm-9.c fails on power 9 (only)

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015 --- Comment #12 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:fc6cd798c07a94d6b0bcc16b175e6e5d6e594c7e commit r12-6717-gfc6cd798c07a94d6b0bcc16b175e6e5d6e594c7e Author: Kewen Lin Date: Tue Jan

[Bug target/103771] [12 Regression] Missed vectorization under -mavx512f -mavx512vl after r12-5489

2022-01-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103771 --- Comment #25 from Hongtao.liu --- in fold_unary_loc ---cut from fold-const.cc- 9276 else if (TREE_CODE (arg0) == COND_EXPR) 9277{ 9278 tree arg01 = TREE_OPERAND (arg0, 1); 9279 tree arg02 = TREE_OPERAND

[Bug testsuite/104021] gcc.dg/vect/tsvc tests failures

2022-01-18 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104021 --- Comment #2 from Rimvydas (RJ) --- Created attachment 52225 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52225&action=edit Signed-off-by version

[Bug testsuite/104022] g++.dg/gcov/pr16855.C does not precleanup upon failures

2022-01-18 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104022 --- Comment #2 from Rimvydas (RJ) --- Created attachment 52224 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52224&action=edit proposed patch I do not have write access. Would Signed-off-by version be OK?

[Bug libstdc++/104085] mips: libstdc++ ABI check compares against wrong file if GCC is configured with --with-abi=(32|64)

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104085 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/104059] [12 Regression] cprop_hardreg propgates hard registers for mov instructions between different REG_CLASS without considering cost

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104059 --- Comment #5 from Andrew Pinski --- Hmm, -fno-tree-ter "fixes" this one too. I have not looked into why though.

[Bug target/104049] [12 Regression] vec_select to subreg lowering causes superfluous moves

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104049 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #7 from Andrew Pinsk

[Bug rtl-optimization/104059] [12 Regression] cprop_hardreg propgates hard registers for mov instructions between different REG_CLASS without considering cost

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104059 Andrew Pinski changed: What|Removed |Added Target|x86_64-*-* i?86-*-* |x86_64-*-* i?86-*-* |

[Bug rtl-optimization/104049] [12 Regression] vec_select to subreg lowering causes superfluous moves

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104049 --- Comment #6 from Andrew Pinski --- Before my patch we had on the gimple level: vect_sum_26.13_38 = VIEW_CONVERT_EXPR(vect__7.9_48); _36 = (vector(4) unsigned int) vect_sum_26.13_38; _35 = .REDUC_PLUS (_36); _34 = (int) _35; _44 =

[Bug rtl-optimization/104049] [12 Regression] vec_select to subreg lowering causes superfluous moves

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104049 --- Comment #5 from Andrew Pinski --- The regression showing up is the same as PR 104059, that is r12-5358-g32221357007666124409ec3ee0d3a1cf263ebc9e .

[Bug c++/99571] ICE for NTTP with pointer to a field inside anonymous union/struct

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99571 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/rsc6f | |s

[Bug c++/99493] Address of template parameter object is not a valid template argument

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

[Bug c++/99493] Address of template parameter object is not a valid template argument

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99493 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/9zYo8 | |f

[Bug middle-end/103645] Gimplifier does not remove empty struct stores in a few cases

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103645 --- Comment #3 from Andrew Pinski --- Created attachment 52223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52223&action=edit Patch which has been boostraped and tested a few times This patch fix the issue but I don't think it qualifies

[Bug target/104104] [12 Regression] Assembler messages: Error: number of operands mismatch for `vxorps'

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

[Bug target/104104] [12 Regression] Assembler messages: Error: number of operands mismatch for `vxorps'

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104104 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ddce00dba244d889d688490517fb106169a72f01 commit r12-6715-gddce00dba244d889d688490517fb106169a72f01 Author: Jakub Jelinek Date: W

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #3 from Martin Sebor --- Looking at the IL before r12-6694 I'm not sure I see what could be done to keep the warning from triggering but maybe someone has an idea for a solution I'm not seeing, in case this comes back with a differen

[Bug libstdc++/104101] [12 Regression] libstdc++ shared_ptr_atomic fails on AIX

2022-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:6325041c2b68af096195e0eef92091b2e293e950 commit r12-6714-g6325041c2b68af096195e0eef92091b2e293e950 Author: Martin Sebor Date: Tue

[Bug middle-end/104103] [12 regression] many excess errors from g++.dg/asan/asan_test.C after r12-6606

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104103 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:282110ae8b54250c8dcb73afc6f30761a41e38e6 commit r12-6713-g282110ae8b54250c8dcb73afc6f30761a41e38e6 Author: Martin Sebor Date: Tue

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 --- Comment #12 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:2f714642e574c64e1c0e093cad3de6f8accb6ec7 commit r12-6712-g2f714642e574c64e1c0e093cad3de6f8accb6ec7 Author: Martin Sebor Date: Tu

[Bug libstdc++/104101] [12 Regression] libstdc++ shared_ptr_atomic fails on AIX

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c3861f79859d96777f86a24261fe639538fd2e1c commit r12-6708-gc3861f79859d96777f86a24261fe639538fd2e1c Author: Jonathan Wakely Date:

[Bug testsuite/104109] [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable by r12-6629

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|[12 Regression] ERROR:

[Bug testsuite/104109] New: [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104109 Bug ID: 104109 Summary: [12 Regression] ERROR: g++.dg/gcov/gcov-17.C : error executing dg-final: can't read "script": no such variable Product: gcc Version: 12.

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 --- Comment #11 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #10) > It is not, because it emits a false positive on a fairly common code. > Anyway, if bb3 jumps to bb4, then bb3 should have in the ranger assertion > that in bb

[Bug c++/104094] Alias template shown in diagnostic with wrong template parameter name

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

[Bug middle-end/104103] [12 regression] many excess errors from g++.dg/asan/asan_test.C after r12-6606

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104103 --- Comment #3 from Martin Sebor --- (In reply to seurer from comment #2) The warning for gcc/testsuite/gcc.dg/torture/pr57147-2.c looks correct. The g_return_jmp_buf variable has zero size but it's being passed to a function declared to take

[Bug c++/104108] [10/11/12 Regression] [c++17+] template alias inside template with static field of template class rejected

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104108 Andrew Pinski changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11/12 Regression]

[Bug c++/96605] ICE in tsubst, at cp/pt.c:14929 on C++20 code

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96605 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #2 from

[Bug c++/104107] [9/10/11/12 Regression] parsing crashes on class template instantiation

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104107 --- Comment #2 from Andrew Pinski --- Also note I found a related regression where GCC decides the static field is not a declaration/variable and rejects the code, PR 104108 .

[Bug c++/104107] [9/10/11/12 Regression] parsing crashes on class template instantiation

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

[Bug c++/104108] [10/11/12 Regression] template alias inside template with static field of template class rejected

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104108 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 --- Comment #1 from Andrew Pinski

[Bug c++/104108] New: [10/11/12 Regression] template alias inside template with static field of template class rejected

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104108 Bug ID: 104108 Summary: [10/11/12 Regression] template alias inside template with static field of template class rejected Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103538 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW

[Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103538 --- Comment #4 from H.J. Lu --- Created attachment 5 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=5&action=edit A patch Try this.

[Bug c++/104107] [9/10/11/12 Regression] parsing crashes on class template instantiation

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104107 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to fail|

[Bug c++/104107] New: parsing crashes on class template instantiation

2022-01-18 Thread gzoumix at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104107 Bug ID: 104107 Summary: parsing crashes on class template instantiation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104055] Temporary with consteval constructor does not cause the deconstructor to be called

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1a5145f1e3adf8b2ba4ad416a5ddef59a1e34d48 commit r12-6705-g1a5145f1e3adf8b2ba4ad416a5ddef59a1e34d48 Author: Jakub Jelinek Date: W

[Bug c++/104105] Unused nothrow new not optimized

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104105 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/102300] [10/11/12 Regression] Qualified name of same template in class template is rejected

2022-01-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102300 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/100198] [12 Regression] ICE with enum in lambda in pack expansion

2022-01-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100198 --- Comment #4 from Jason Merrill --- Nested classes/enums like this are broken in pack expansions if they depend on parameter packs. The patch for PR100109 changed this from rejects-valid to ice-on-valid, but it isn't something newly broken.

[Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103538 --- Comment #3 from H.J. Lu --- gcc-interface/Makefile.in has ifeq ($(strip $(filter-out x86_64, $(target_cpu))),) ifeq ($(strip $(MULTISUBDIR)),/32) target_cpu:=i686 else ifeq ($(strip $(MULTISUBDIR)),/x32) target_cpu:=x32

[Bug middle-end/104076] bogus -Wdangling-pointer on a conditional

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104076 --- Comment #1 from Martin Sebor --- This instance of the warning has disappeared with r12-6694.

[Bug sanitizer/101476] AddressSanitizer check failed, points out a (potentially) non-existing stack error

2022-01-18 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101476 --- Comment #7 from Stas Sergeev --- Created attachment 52221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52221&action=edit test case This is a reproducer for both problems. $ cc -Wall -o bug -ggdb3 -fsanitize=address bug.c -O1 to see

[Bug c++/104025] [12 Regression] '-fcompare-debug' failure with enabled warnings since r12-6563-gb8ffa71e4271ae56

2022-01-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104025 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104025] [12 Regression] '-fcompare-debug' failure with enabled warnings since r12-6563-gb8ffa71e4271ae56

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104025 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2aa184458a11a7ec8c1b451b8eeff458a24632bb commit r12-6703-g2aa184458a11a7ec8c1b451b8eeff458a24632bb Author: Jason Merrill Date: M

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

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

[Bug middle-end/104103] [12 regression] many excess errors from g++.dg/asan/asan_test.C after r12-6606

2022-01-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104103 --- Comment #2 from seurer at gcc dot gnu.org --- Also, g:9d6a0f388eb048f8d87f47af78f07b5ce513bfe6, r12-6606 make -k check-gcc RUNTESTFLAGS="dg-torture.exp=gcc.dg/torture/pr57147-2.c" FAIL: gcc.dg/torture/pr57147-2.c -O2 -flto -fno-use-linke

[Bug c++/98645] [modules] does not work on PowerPC with IEEE 128-bit long double

2022-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98645 --- Comment #4 from Jakub Jelinek --- PR104052 has maybe more detailed analysis.

[Bug c++/103524] [meta-bug] modules issue

2022-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 104052, which changed state. Bug 104052 Summary: Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104052 What|Removed |Added

[Bug c++/98645] [modules] does not work on PowerPC with IEEE 128-bit long double

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

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

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

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 --- Comment #9 from Martin Sebor --- My mistake, a PHI is an OR of its operands, not an AND. With that, the IL doesn't rule out that the subsequent realloc() call isn't made with the argument to a prior successful realloc(). So for the more in

[Bug c++/98645] [modules] does not work on PowerPC with IEEE 128-bit long double

2022-01-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98645 --- Comment #2 from Peter Bergner --- Mike, what is the status of this bug? Is this still broken?

[Bug fortran/104100] Passing an allocated array to a C bind function alters the bounds

2022-01-18 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104100 --- Comment #3 from Steve Kargl --- On Tue, Jan 18, 2022 at 10:15:25PM +, hzhou321 at anl dot gov wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104100 > > --- Comment #2 from Hui Zhou --- > Great! That means it has already been fix

[Bug tree-optimization/104106] Fail to remove stores to VLA inside loops

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

[Bug tree-optimization/104106] Fail to remove some useless loop

2022-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104106 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug tree-optimization/104106] New: Fail to remove some useless loop

2022-01-18 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104106 Bug ID: 104106 Summary: Fail to remove some useless loop Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizati

[Bug sanitizer/101476] AddressSanitizer check failed, points out a (potentially) non-existing stack error

2022-01-18 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101476 --- Comment #6 from Stas Sergeev --- I think the fix (of at least 1 problem here) would be to move this line: https://code.woboq.org/gcc/libsanitizer/asan/asan_thread.cc.html#109 upwards, before this: https://code.woboq.org/gcc/libsanitizer/asan

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 --- Comment #8 from Jakub Jelinek --- ret_7 == 0 certainly doesn't imply ret_17 == 0, so it is correct ranger doesn't know. ret_7 == 0 implies that either ret_17 == 0 if bb 2 jumped to bb 4, in that case ret_19 isn't even defined, or ret_19 is

[Bug fortran/104100] Passing an allocated array to a C bind function alters the bounds

2022-01-18 Thread hzhou321 at anl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104100 --- Comment #2 from Hui Zhou --- Great! That means it has already been fixed in the coming 12 series, right? I was initially a bit confused with your WONTFIX comment.

[Bug middle-end/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 Martin Sebor changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #7 from Martin Se

[Bug tree-optimization/104069] -Werror=use-after-free false positive on elfutils-0.186

2022-01-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104069 Martin Sebor changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment #

[Bug lto/98504] [11/12 Regression] bootstrap broken in libgo on ia64-linux-gnu

2022-01-18 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 --- Comment #13 from John Paul Adrian Glaubitz --- (In reply to Ian Lance Taylor from comment #12) > But, of course, you shouldn't have to. A "make install" should put fmt.gox > in the right place by default. I don't know why you are seeing a p

[Bug fortran/104100] Passing an allocated array to a C bind function alters the bounds

2022-01-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104100 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug ada/103538] [12 Regression] trunk 20211203 fails to build gnat on x86_64-linux-gnux32

2022-01-18 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103538 --- Comment #2 from H.J. Lu --- Created attachment 52220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52220&action=edit A patch to update x32 suport

[Bug lto/98504] [11/12 Regression] bootstrap broken in libgo on ia64-linux-gnu

2022-01-18 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98504 --- Comment #12 from Ian Lance Taylor --- You can pass the -I option to tell the compiler where to find the fmt.gox file. But, of course, you shouldn't have to. A "make install" should put fmt.gox in the right place by default. I don't know wh

[Bug c++/104105] New: Unused nothrow new not optimized

2022-01-18 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104105 Bug ID: 104105 Summary: Unused nothrow new not optimized Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A

[Bug analyzer/104089] ICE in constant_svalue, at analyzer/svalue.h:271

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

[Bug analyzer/104062] [12 Regression] ICE in get_or_create_cast, at analyzer/region-model-manager.cc:482 since r12-6476-g4f34f8cc1d064bfa

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

[Bug analyzer/104089] ICE in constant_svalue, at analyzer/svalue.h:271

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104089 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2aefe248aa4160205c44808166393a42031d2dea commit r12-6700-g2aefe248aa4160205c44808166393a42031d2dea Author: David Malcolm Date: T

[Bug analyzer/104062] [12 Regression] ICE in get_or_create_cast, at analyzer/region-model-manager.cc:482 since r12-6476-g4f34f8cc1d064bfa

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104062 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:79e746bb05e432dcd1c18161469272d67c33d79d commit r12-6699-g79e746bb05e432dcd1c18161469272d67c33d79d Author: David Malcolm Date: T

[Bug fortran/103475] ICE in gfc_expr_attr, at fortran/primary.c:2782

2022-01-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103475 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from

[Bug libstdc++/104099] [12 Regression] basic_string(nullptr) constructor should not be present before C++23

2022-01-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104099 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/104099] [12 Regression] basic_string(nullptr) constructor should not be present before C++23

2022-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104099 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe3ed885cda5ab920d361b694ee539242052022f commit r12-6698-gfe3ed885cda5ab920d361b694ee539242052022f Author: Jonathan Wakely Date:

  1   2   3   >