[Bug tree-optimization/102714] [11/12 Regression] A volatile-related problem cased by ipa inline pass

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Priority|P3

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #3 from Aldy Hernandez --- This seems to be some limitation of the RTL optimizers in the presence of more aggressive jump threading. Neither the old backward threader nor the old VRP threader could find any threading possibilities:

[Bug target/102543] -march=cascadelake performs odd alignment peeling

2021-10-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 --- Comment #10 from rguenther at suse dot de --- On Wed, 13 Oct 2021, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102543 > > --- Comment #9 from Hongtao.liu --- > I'm curious why we need peeling for unalig

[Bug fortran/102715] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8184

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102715 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/102715] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8184

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102715 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug other/102718] gtype-desc.c function redefinition error for gt_ggc_xxx (int_hash

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102718 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug testsuite/102719] [12 regression] several failures after r12-4337

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102719 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug testsuite/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4234

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Richard Biener changed: What|Removed |Added Component|testsuite |tree-optimization Summary|[

[Bug tree-optimization/100464] [11 Regression] emitted binary code changes when -g is enabled at -O3

2021-10-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #14 from Jakub Jelinek --- Yes. You'll get an error, like: error: t.c: ‘-fcompare-debug’ failure (length) or error: t.c: ‘-fcompare-debug’ failure Under the hood, the driver invokes the compiler once with the options you've given pl

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #4 from Andrew Pinski --- There is a missed optimization at the gimple level for sure. if (d_11 > 1) goto ; [59.00%] else goto ; [41.00%] [local count: 391808389]: [local count: 955630225]: # iftmp.1_6 = PHI <

[Bug c++/102724] New: [11/12 Regression] ICE in genericize_spaceship, at cp/method.c:1089

2021-10-13 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102724 Bug ID: 102724 Summary: [11/12 Regression] ICE in genericize_spaceship, at cp/method.c:1089 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-reco

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #5 from Andrew Pinski --- (In reply to Aldy Hernandez from comment #3) > This seems to be some limitation of the RTL optimizers in the presence of > more aggressive jump threading. But the more aggressive jump threading is actually

[Bug libstdc++/100285] experimental/net/socket/socket_base.cc fails on arm-eabi (r12-137)

2021-10-13 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100285 --- Comment #13 from Christophe Lyon --- Sure, here is what I have in libstdc++.log: In file included from /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-aarch64-none-elf/gcc3/aarch64-none-elf/libstdc++-v3/include/experimental/net:42,

[Bug tree-optimization/102725] New: [12 Regression] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2021-10-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 Bug ID: 102725 Summary: [12 Regression] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768 Product: gcc Version: 12.0 Status: UNCONFIRMED Se

[Bug tree-optimization/102725] [12 Regression] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 --- Comment #1 from Andrew Pinski --- You need -fno-tree-loop-distribution -fno-tree-loop-distribute-patterns to turn it off. There is another older bug about this for memcpy.

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2021-10-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 --- Comment #2 from Martin Liška --- (In reply to Andrew Pinski from comment #1) > You need -fno-tree-loop-distribution -fno-tree-loop-distribute-patterns to > turn it off. There is another older bug about this for memcpy. Well, I would expect

[Bug c++/102704] NRVO for throw expression

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

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 --- Comment #3 from Andrew Pinski --- (In reply to Martin Liška from comment #2) > (In reply to Andrew Pinski from comment #1) > > You need -fno-tree-loop-distribution -fno-tree-loop-distribute-patterns to > > turn it off. There is another olde

[Bug c++/102704] NRVO for throw expression

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102704 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/102721] out-of-line member function definition fails to allow lambda in unevaluated-context of new feature in c++20

2021-10-13 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102721 --- Comment #4 from qingzhe huang --- (In reply to Andrew Pinski from comment #2) > Note it is not array related either: > template<> > void A::foo(const decltype(+[]{})) > {} Yes, it is not array-related. But it is definitely member function i

[Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++

2021-10-13 Thread qiu.chaofan at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912 --- Comment #6 from Qiu Chaofan --- By changing the order of linked objects (move .libs/compatibility-ldbl.o .libs/compatibility-ldbl-alt128.o .libs/compatibility-ldbl-alt128-cxx11.o after the series of convenience archives), the result under `-

[Bug c++/86286] Could __attribute__ ((nothrow)) on a noexcept function turn off EH codegen?

2021-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86286 --- Comment #5 from Jonathan Wakely --- I don't know how common it is, but a realistic example is std::unique_ptr where the deleter D::operator() is not inline (so the compiler can't see whether it throws) and is not noexcept (maybe it throws in

[Bug libstdc++/100912] powerpc64le: ieee128 long double incorrectly printed when using shared libstdc++

2021-10-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912 Jonathan Wakely changed: What|Removed |Added Status|WAITING |ASSIGNED Keywords|

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #6 from Aldy Hernandez --- (In reply to Andrew Pinski from comment #4) > There is a missed optimization at the gimple level for sure. > > > if (d_11 > 1) > goto ; [59.00%] > else > goto ; [41.00%] > >[local count:

[Bug tree-optimization/102714] [11/12 Regression] A volatile-related problem cased by ipa inline pass

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:23cd18c60c8188e3d68eda721cdb739199e85e5b commit r12-4366-g23cd18c60c8188e3d68eda721cdb739199e85e5b Author: Richard Biener Date:

[Bug tree-optimization/102714] [11 Regression] A volatile-related problem cased by ipa inline pass

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] A|[11 Regression] A |v

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #7 from Andrew Pinski --- Because: if (d_11 > 1) goto ; [59.00%] else goto ; [41.00%] [local count: 391808389]: [local count: 955630225]: # iftmp.1_6 = PHI <0(3), 2(4)> If the phi node was removed, the original

[Bug tree-optimization/102703] [12 Regression] Dead Code Elimination Regression at -O3 since r12-2591-g2e96b5f14e402569

2021-10-13 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 --- Comment #8 from Aldy Hernandez --- On Wed, Oct 13, 2021, 11:37 pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102703 > > --- Comment #7 from Andrew Pinski --- > Because: > if

[Bug tree-optimization/100509] [9 Regression] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100509 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:379382c438652b594f0e91a61dbfce05eab080bd commit r9-9768-g379382c438652b594f0e91a61dbfce05eab080bd Author: Richard Biener

[Bug tree-optimization/100934] [9 Regression] wrong code at -O3 during unrolling since r9-6299

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e89b09601907f3f3ba6c988ebef7b978af40b83a commit r9-9769-ge89b09601907f3f3ba6c988ebef7b978af40b83a Author: Richard Biener

[Bug tree-optimization/101105] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:641bea75ab2b3567dfa66370dea8b810b504d3cc commit r9-9770-g641bea75ab2b3567dfa66370dea8b810b504d3cc Author: Richard Biener

[Bug tree-optimization/101394] [9 Regression] ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a091e66e510804a29ba2a685b027f5d15aa69f1b commit r9-9771-ga091e66e510804a29ba2a685b027f5d15aa69f1b Author: Richard Biener

[Bug tree-optimization/101280] [12 Regression] TSVC s231 slower with -Ofast -march=znver1 since r12-1836-g0ad9d88a3d7170b3

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101280 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5d2771db571323bc7ea25c61b5ed9e5309950f18 commit r9-9772-g5d2771db571323bc7ea25c61b5ed9e5309950f18 Author: Richard Biener

[Bug tree-optimization/101173] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101173 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5d2771db571323bc7ea25c61b5ed9e5309950f18 commit r9-9772-g5d2771db571323bc7ea25c61b5ed9e5309950f18 Author: Richard Biener

[Bug tree-optimization/101173] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/101394] [9 Regression] ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

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

[Bug tree-optimization/100509] [9 Regression] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

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

[Bug tree-optimization/100934] [9 Regression] wrong code at -O3 during unrolling since r9-6299

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

[Bug tree-optimization/101001] [9/10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101001 Bug 101001 depends on bug 100934, which changed state. Bug 100934 Summary: [9 Regression] wrong code at -O3 during unrolling since r9-6299 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 What|Removed |Adde

[Bug tree-optimization/101105] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-10-13 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Stefan Schulze Frielinghaus changed: What|Removed |Added CC||stefansf at linux dot ibm.

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread vajdaz at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #9 from Zoltan Vajda --- As I understand it, it is acknowledged, that this is a bug. However, the issue is in state NEW for a quite long time. The issue is still present in GCC 11.2. Do you see any chances for some progress in this ca

[Bug target/98478] AVX512 refactoring integer mask with VnBImode

2021-10-13 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98478 --- Comment #4 from Hongtao.liu --- Arm implemented vector boolean mode in https://gcc.gnu.org/pipermail/gcc-patches/2021-October/581534.html

[Bug tree-optimization/102714] [11 Regression] A volatile-related problem cased by ipa inline pass

2021-10-13 Thread duan.db at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102714 --- Comment #5 from Bo Duan --- The patch works. Thanks you.

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 Richard Biener changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #10

[Bug tree-optimization/101824] [9/10 Regression] VOLATILE not honored

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101824 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a68a1e06f2eea2f510649aa9bbb17303ef1efb9c commit r10-10205-ga68a1e06f2eea2f510649aa9bbb17303ef1efb9c Author: Richard Biene

[Bug tree-optimization/101868] [9/10 Regression] Incorrect reordering in -O2 with LTO

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:95a95ec274cd0ec125ce48ab002fad4e400e345b commit r10-10206-g95a95ec274cd0ec125ce48ab002fad4e400e345b Author: Richard Bien

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:95a95ec274cd0ec125ce48ab002fad4e400e345b commit r10-10206-g95a95ec274cd0ec125ce48ab002fad4e400e345b Author: Richard Bien

[Bug tree-optimization/101925] [10 Regression] reversed storage order when compiling with -O3 only since r10-4742-g9b75f56d4b7951c6

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:66615029ec831da23b481cd3a01e90cff02c6891 commit r10-10207-g66615029ec831da23b481cd3a01e90cff02c6891 Author: Richard Bien

[Bug tree-optimization/102046] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 with -O3 -march=btver2 since r1

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102046 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:967219bb3ef1869f6bd1c5efffea65544a310836 commit r10-10208-g967219bb3ef1869f6bd1c5efffea65544a310836 Author: Richard Biene

[Bug tree-optimization/101925] [10 Regression] reversed storage order when compiling with -O3 only since r10-4742-g9b75f56d4b7951c6

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 Richard Biener changed: What|Removed |Added Known to work||10.3.1 Status|ASSIGNED

[Bug tree-optimization/102046] [10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 with -O3 -march=btver2 since r1

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102046 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 Resolution|---

[Bug tree-optimization/102659] -O2 vectorization if-conversion produces wrong code for gcc.dg/torture/pr69760.c

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102659 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3c0194d7ff21d61c02f3c6b111c83ef24a69e1f0 commit r12-4369-g3c0194d7ff21d61c02f3c6b111c83ef24a69e1f0 Author: Richard Biener Date:

[Bug tree-optimization/102659] -O2 vectorization if-conversion produces wrong code for gcc.dg/torture/pr69760.c

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

[Bug tree-optimization/102725] -fno-builtin leads to call of strlen since r12-4283-g6f966f06146be768

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725 --- Comment #4 from Richard Biener --- I think that 'strlen' is only used when it is explicitely declared. Hmm, maybe I'm mistaken and it's 'implicit' already because it is standard. So loop distribution could check for builtin_decl_declared_p

[Bug c++/102726] New: Does not warn for enum constant in boolean context

2021-10-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102726 Bug ID: 102726 Summary: Does not warn for enum constant in boolean context Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug fortran/102727] New: Warning for guaranteed interoperable type kind

2021-10-13 Thread jahns at dkrz dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102727 Bug ID: 102727 Summary: Warning for guaranteed interoperable type kind Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/102721] out-of-line member function definition fails to allow lambda in unevaluated-context of new feature in c++20

2021-10-13 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102721 --- Comment #5 from qingzhe huang --- (In reply to qingzhe huang from comment #4) > (In reply to Andrew Pinski from comment #2) > > Note it is not array related either: > > template<> > > void A::foo(const decltype(+[]{})) > > {} > > Yes, it is

[Bug c++/102709] [11/12 Regression] ICE: in build_function_type with parameter packs not expanded in constructor while doing auto deduction since r11-2748-gb871301f09be7061

2021-10-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102709 Martin Liška changed: What|Removed |Added Summary|[11/12 Regression] ICE: in |[11/12 Regression] ICE: in

[Bug tree-optimization/102711] [9/10/11 Regression] CDDCE removes condition that might lead to an infinite loop causing an unconditional infinite loop

2021-10-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug fortran/102715] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8184 since r12-4278-g74ccca380cde5e79

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

[Bug tree-optimization/102711] [9/10/11 Regression] CDDCE removes condition that might lead to an infinite loop causing an unconditional infinite loop

2021-10-13 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 --- Comment #5 from rguenther at suse dot de --- On Wed, 13 Oct 2021, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 > > Martin Liška changed: > >What|Removed |Added

[Bug c++/102724] ICE in genericize_spaceship, at cp/method.c:1089

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

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #11 from Uroš Bizjak --- (In reply to Zoltan Vajda from comment #9) > As I understand it, it is acknowledged, that this is a bug. However, the > issue is in state NEW for a quite long time. The issue is still present in > GCC 11.2. Do

[Bug modula2/102339] gm2 testsuite leaves many files behind

2021-10-13 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102339 --- Comment #1 from Gaius Mulley --- Confirmed as a bug and now fixed in the repository - many thanks for the report.

[Bug target/102688] [12 regression] gcc.dg/ipa/iinline-attr.c fails after r12-4288

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102688 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:e415bc4c035b1b655cf2cafcbe515382d1cefc93 commit r12-4370-ge415bc4c035b1b655cf2cafcbe515382d1cefc93 Author: Martin Liska Date: Tue

[Bug target/102688] [12 regression] gcc.dg/ipa/iinline-attr.c fails after r12-4288

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

[Bug gcov-profile/90364] 521.wrf_r is 8-17% slower with PGO at -Ofast and native march/mtune

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 --- Comment #12 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:72e0c742bd01f8e7e6dcca64042b9ad7e75979de commit r12-4372-g72e0c742bd01f8e7e6dcca64042b9ad7e75979de Author: Martin Liska Date: Thu

[Bug modula2/102340] gm2 test sources shouldn't be executable

2021-10-13 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102340 Gaius Mulley changed: What|Removed |Added CC||gaiusmod2 at gmail dot com --- Comment #

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread vajdaz at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #12 from Zoltan Vajda --- Using -mfpmath=sse here does not help on a 32 bit platfrom. https://gcc.godbolt.org/z/hs1Ef6aj4 At line 31 the assembly code performs the speculative load.

[Bug gcov-profile/90364] 521.wrf_r is 8-17% slower with PGO at -Ofast and native march/mtune

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

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

2021-10-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 90364, which changed state. Bug 90364 Summary: 521.wrf_r is 8-17% slower with PGO at -Ofast and native march/mtune https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90364 What|Removed |Added

[Bug libstdc++/100187] Helper lambda in ranges_algo.h misses forwarding return type

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100187 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb261f0e8fc08fb49f74002582ad5713cda684f7 commit r11-9145-gcb261f0e8fc08fb49f74002582ad5713cda684f7 Author: Patrick Palka

[Bug libstdc++/100237] Unnecessary std::move in ranges::min, ranges::max and ranges::minmax

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100237 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb261f0e8fc08fb49f74002582ad5713cda684f7 commit r11-9145-gcb261f0e8fc08fb49f74002582ad5713cda684f7 Author: Patrick Palka

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb261f0e8fc08fb49f74002582ad5713cda684f7 commit r11-9145-gcb261f0e8fc08fb49f74002582ad5713cda684f7 Author: Patrick Palka

[Bug libstdc++/100287] Using iterator after std::move in ranges::partition

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100287 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb261f0e8fc08fb49f74002582ad5713cda684f7 commit r11-9145-gcb261f0e8fc08fb49f74002582ad5713cda684f7 Author: Patrick Palka

[Bug libstdc++/100237] Unnecessary std::move in ranges::min, ranges::max and ranges::minmax

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100237 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:139bafaaba0c775ca65712621bd60e079b488d73 commit r10-10210-g139bafaaba0c775ca65712621bd60e079b488d73 Author: Patrick Palka

[Bug libstdc++/100187] Helper lambda in ranges_algo.h misses forwarding return type

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100187 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:139bafaaba0c775ca65712621bd60e079b488d73 commit r10-10210-g139bafaaba0c775ca65712621bd60e079b488d73 Author: Patrick Palka

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:139bafaaba0c775ca65712621bd60e079b488d73 commit r10-10210-g139bafaaba0c775ca65712621bd60e079b488d73 Author: Patrick Palka

[Bug libstdc++/100287] Using iterator after std::move in ranges::partition

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100287 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:139bafaaba0c775ca65712621bd60e079b488d73 commit r10-10210-g139bafaaba0c775ca65712621bd60e079b488d73 Author: Patrick Palka

[Bug libstdc++/100187] Helper lambda in ranges_algo.h misses forwarding return type

2021-10-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100187 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/100237] Unnecessary std::move in ranges::min, ranges::max and ranges::minmax

2021-10-13 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100237 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug libstdc++/100287] Using iterator after std::move in ranges::partition

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

[Bug c++/102728] New: requires statement fails to recognize lambda in unevaluated context

2021-10-13 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102728 Bug ID: 102728 Summary: requires statement fails to recognize lambda in unevaluated context Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #13 from Uroš Bizjak --- (In reply to Zoltan Vajda from comment #12) > Using -mfpmath=sse here does not help on a 32 bit platfrom. > https://gcc.godbolt.org/z/hs1Ef6aj4 > At line 31 the assembly code performs the speculative load. Ye

[Bug c++/102611] [C++23] P2128R6 - Multidimensional subscript operator

2021-10-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102611 --- Comment #2 from Jakub Jelinek --- Created attachment 51595 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51595&action=edit gcc12-P2128R6-WIP.patch Untested WIP, just template handling hasn't been added yet, so it is useful only witho

[Bug fortran/102729] New: Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling)

2021-10-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 Bug ID: 102729 Summary: Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling) Product: gcc Version: 12.0 Status: UNCONFIRME

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-10-13 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug tree-optimization/102720] [12 regression] gcc.dg/tree-ssa/ldist-strlen-1.c and ldist-strlen-2.c fail after r12-4324

2021-10-13 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102720 --- Comment #6 from Christophe Lyon --- On aarch64, this also causes gcc.dg/loop-unswitch-4.c to fail

[Bug target/93934] Unnecessary fld of uninitialized float stack variable results in ub of valid C++ code

2021-10-13 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93934 --- Comment #14 from Alexander Monakov --- Zoltan, excuse me, could you please clarify what specifically you are worried about? Your bug title says "results in UB" and the opening comment said "the behavior [..] is unpredictable", but as far as I

[Bug c++/102726] Does not warn for enum constant in boolean context

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102726 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-10-13 Status|UNCONFIRME

[Bug c++/102730] New: Consistency of deprecation warning emission with type alias

2021-10-13 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102730 Bug ID: 102730 Summary: Consistency of deprecation warning emission with type alias Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/90787] filesystem tests fail if file permissions are not supported

2021-10-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90787 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4be4888d6bddbcc106efeb19e18c380e7c1d041a commit r10-10214-g4be4888d6bddbcc106efeb19e18c380e7c1d041a Author: Jonathan Wake

[Bug tree-optimization/100464] [11 Regression] emitted binary code changes when -g is enabled at -O3

2021-10-13 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #15 from Chengnian Sun --- (In reply to Jakub Jelinek from comment #14) > Yes. You'll get an error, like: > error: t.c: ‘-fcompare-debug’ failure (length) > or > error: t.c: ‘-fcompare-debug’ failure > Under the hood, the driver inv

[Bug tree-optimization/99580] False positive -Warray-bounds with nested loops

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99580 Martin Sebor changed: What|Removed |Added Last reconfirmed|2021-03-14 00:00:00 |2021-10-13 Summary|False posit

[Bug fortran/102729] Assumed rank: ICE when passing noncontiguous to CONTIGUOUS assume rank (assumed-rank loop handling)

2021-10-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102729 Tobias Burnus changed: What|Removed |Added Blocks||102641 --- Comment #1 from Tobias Burnu

[Bug middle-end/102731] New: inconsistent handling of dereferncing a null pointer

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102731 Bug ID: 102731 Summary: inconsistent handling of dereferncing a null pointer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug middle-end/102731] inconsistent handling of dereferncing a null pointer

2021-10-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102731 Martin Sebor changed: What|Removed |Added Blocks||56456, 88443 Keywords|

[Bug middle-end/77608] missing protection on trivially detectable runtime buffer overflow

2021-10-13 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77608 Kees Cook changed: What|Removed |Added CC||kees at outflux dot net --- Comment #5 from

  1   2   >