[Bug c++/99160] A wrong accessible check when using a using-declaration that introduces the names of type and function

2021-08-17 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99160 --- Comment #6 from jim x --- struct A{ struct Name{}; void Name(){} }; struct B:A{ using A::Name; //#1 }; int main() { struct B::Name d; } According to [basic.lookup#general-4], the lookup set occurs at `#1` would discard the de

[Bug c++/80804] Default constructor improperly invoked in C++1z mode

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80804 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #2 from Andrew Pin

[Bug c++/81311] [7 Regression] An std::ref argument calls copy constructor instead of template constructor in C++17 mode

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81311 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Commen

[Bug c++/97277] Lambda in fold expressions capture arguments are default initialized

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97277 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/80804] Default constructor improperly invoked in C++1z mode

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80804 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/96848] Inherited conditionally explicit constructors via using declaration do not enforce explicitness if dependent on template parameter

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96848 --- Comment #1 from Andrew Pinski --- ICC, clang and MSVC all agree the output should be 1010.

[Bug c++/96848] Inherited conditionally explicit constructors via using declaration do not enforce explicitness if dependent on template parameter

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

[Bug target/97147] GCC uses vhaddpd which is bad for latency

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 --- Comment #4 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > (In reply to Hongtao.liu from comment #2) > > Disable (define_insn "*sse3_haddv2df3_low" and (define_insn > > "*sse3_hsubv2df3_low" seems to be ok. > > But for foo

[Bug c++/85271] Trivial copy assignment operator overwrites members not being copied

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85271 --- Comment #1 from Andrew Pinski --- GCC, ICC and clang all abort at runtime on this testcase.

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

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0215b3559e55f39f38e10984a804c53907f7491c commit r12-2939-g0215b3559e55f39f38e10984a804c53907f7491c Author: Richard Biener Date:

[Bug target/97147] GCC uses vhaddpd which is bad for latency

2021-08-17 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 --- Comment #5 from rguenther at suse dot de --- On Tue, 17 Aug 2021, crazylht at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 > > --- Comment #4 from Hongtao.liu --- > (In reply to Richard Biener from comment #3)

[Bug c++/97097] operator() call from lambda fails to resolve to enclosing class function

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97097 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/97647] Accepts undefined delete expression in constant expression

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

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

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

[Bug c++/97648] Rejects valid direct initialization from prvalue (private destructor)

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97648 --- Comment #2 from Andrew Pinski --- (In reply to Marek Polacek from comment #1) > This is also rejected by clang++ and icc. MSVC also rejects it for accessibility reasons.

[Bug c++/88061] section attributes of variable templates are ignored

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88061 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/97771] gcc/g++ failed to generate proper .init_array entries for local scope function, should create "axG", .init_array comdat

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97771 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/88061] section attributes of variable templates are ignored

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88061 Andrew Pinski changed: What|Removed |Added CC||erstrauss at gmail dot com --- Comment #

[Bug c++/101940] Implement -fignored-attributes

2021-08-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 Richard Biener changed: What|Removed |Added Version|unknown |12.0 --- Comment #1 from Richard Biene

[Bug ipa/101941] [12 Regression] Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__))

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

[Bug target/101936] [12 Regression] 538.imagick_r -Ofast regression on Kabylake since g:872da9a6f664a06d73c987aa0cb2e5b830158a10

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101936 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > I'll take a look at why there's the regression and revert my patch. > I can't reproduce it on my skylake client, anyway i will revert my patch. > There's already an

[Bug c++/97852] Parameter pack not found

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97852 --- Comment #2 from Andrew Pinski --- I don't think this is valid, t cannot show up in a constexpr. ICC rejects this with a decent error message too: (3): error: a parameter is not allowed And if we use foo MSVC rejects it: (7): error C2672: 'fo

[Bug c++/97946] passing templated function without template argument

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

[Bug c++/94517] incorrect use of enable_if compiles but should not

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94517 --- Comment #1 from Andrew Pinski --- It is we don't instantiate the constructor until we need it as shown by: #include struct NoDefault { NoDefault() = delete; }; // compiles while should not struct X : public NoDefault { template

[Bug c++/97988] [C++20] Forward-declared class type declared inside requires-expression gives weird inconsistencies

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

[Bug c++/98524] accepts-invalid instantiation of variable template with different function pointer type from declaration

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

[Bug c++/98614] Copy ctor/assign cannot be defaulted in specialization by concept

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98614 --- Comment #1 from Andrew Pinski --- Seems to be fixed on the trunk.

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Co

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 --- Comment #4 from Aldy Hernandez --- This is actually an oversight in the range-ops code. In flag_wrapv -TYPE_MIN_VALUE = TYPE_MIN_VALUE which is special cased in the ABS folding routine, but not in operator_abs::op1_range(). Thank you for r

[Bug c++/94575] Bogus warning: Used variable is “not” used

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94575 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/88804] Inconsistently diagnosed unused but set static variable in lambda

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88804 Andrew Pinski changed: What|Removed |Added CC||bisqwit at iki dot fi --- Comment #2 fro

[Bug c++/98750] does not detect dead code

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98750 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|2021-01-20 00:00:00

[Bug c++/98822] Rejects-valid: instantiation of class template instantiates (all) constrained non-template friend definitions (, even those) with unsatisfied constraints

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98822 --- Comment #1 from Andrew Pinski --- > MSVC accepts the final example above Looks like that has changed in a recent build. MSVC now errors out with: (4): error C2084: function 'void S<1>::f(int)' already has a body (4): note: see previous defini

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

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ee875b63b22e30a0dcb4b05f7532c2c416ba6cd0 commit r11-8875-gee875b63b22e30a0dcb4b05f7532c2c416ba6cd0 Author: Richard Biene

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

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ee875b63b22e30a0dcb4b05f7532c2c416ba6cd0 commit r11-8875-gee875b63b22e30a0dcb4b05f7532c2c416ba6cd0 Author: Richard Biene

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

2021-08-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Richard Biener changed: What|Removed |Added Known to work||11.2.1 Priority|P3

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

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3ed779689631ff8f398dcde06d5efa2a3c43ef27 commit r12-2943-g3ed779689631ff8f398dcde06d5efa2a3c43ef27 Author: Richard Biener Date:

[Bug c++/98824] [C++-20] function template non-type-class-arg deduction fails with a reason that looks bogus

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

[Bug tree-optimization/101944] New: suboptimal SLP for reduced case from namd_r

2021-08-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 Bug ID: 101944 Summary: suboptimal SLP for reduced case from namd_r Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug tree-optimization/101944] suboptimal SLP for reduced case from namd_r

2021-08-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 --- Comment #1 from Kewen Lin --- The original costing shows the vectorized version wins, by checking the costings, it missed to model the cost of lane extraction, the patch was posted in: https://gcc.gnu.org/pipermail/gcc-patches/2021-August/57

[Bug target/98927] Code using _mm_extract_epi16 compiles with -O3 but not on other optimization modes

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98927 --- Comment #5 from Andrew Pinski --- Seems like ARM is going down the route of requiring the arugments to be "constexpr" like. See https://gcc.gnu.org/pipermail/gcc/2021-August/236960.html (and all of the related threads).

[Bug c++/98936] [DR1734] Incorrect computation of trivially copyable for class with user-declared move assignment operator, defined as deleted

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98936 Andrew Pinski changed: What|Removed |Added Summary|Incorrect computation of|[DR1734] Incorrect |tr

[Bug c++/99130] Variable template in unevaluated context is wrongly implicitly instantiated

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99130 --- Comment #1 from Andrew Pinski --- Interesting only clang accepts the code, ICC and MSVC reject it for the same reason as GCC.

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 --- Comment #5 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:891bdbf2b0432b4aa3d3e76923617fcb4fd33cf6 commit r12-2944-g891bdbf2b0432b4aa3d3e76923617fcb4fd33cf6 Author: Andrew MacLeod Date:

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 --- Comment #7 from Martin Liška --- > Thank you for reporting and distilling this Martin. You're welcome, it was pretty fun isolating that! Thanks for the hot fix.

[Bug tree-optimization/101938] [12 Regression] Wrong code with -fwrapv since r12-2591-g2e96b5f14e402569

2021-08-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101938 --- Comment #8 from Aldy Hernandez --- (In reply to Martin Liška from comment #7) > > Thank you for reporting and distilling this Martin. > > You're welcome, it was pretty fun isolating that! > Thanks for the hot fix. That was all Andrew! I j

[Bug tree-optimization/101944] suboptimal SLP for reduced case from namd_r

2021-08-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 --- Comment #2 from Kewen Lin --- Back to the optimized IR, I thought the problem is that the vectorized version has longer critical path for the reduc_plus result (latency in total). For vectorized version, _51 = diffa_41(D) * 1.

[Bug c++/99130] variable template in unevaluated context is instantiated when should not be

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99130 Andrew Pinski changed: What|Removed |Added Summary|Variable template in|variable template in |

[Bug c++/95016] [DR 2082] Referring to parameters in unevaluated operands of default arguments

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95016 --- Comment #2 from Andrew Pinski --- Could PR 50479 be related?

[Bug c++/101945] New: [C++] ICE on recursive atomic constraint

2021-08-17 Thread emmanuel.le-trong--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101945 Bug ID: 101945 Summary: [C++] ICE on recursive atomic constraint Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/97807] ICE in output_move_double, at config/arm/arm.c:19689

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97807 --- Comment #1 from Martin Liška --- Similar ICE hapenning: $ arm-linux-gnueabi-gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/packed-aligned-1.c -mcpu=fa726te -fno-tree-coalesce-vars -Os -c during RTL pass: final /home/mar

[Bug c++/101904] Wrong result of decltype during instantiation of std::result_of

2021-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101904 --- Comment #3 from Jonathan Wakely --- Only clang can compile it. MSVC and EDG can't: https://godbolt.org/z/941P1vfjG I think Clang doesn't even bother to instantiate the return type for the non-const overload, because it wouldn't be viable. I

[Bug c++/101945] [C++] ICE on recursive atomic constraint

2021-08-17 Thread emmanuel.le-trong--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101945 --- Comment #1 from Emmanuel Le Trong --- Sorry for the weird indentation, here it is fixed: #include template struct wrapper { T value; }; template requires std::equality_comparable_with constexpr bool

[Bug tree-optimization/101923] std::function's move ctor is slower than the copy one for empty source objects

2021-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #6 from Jonathan Wakely --- (In reply to Petar Ivanov from comment #5) > Could you please advise on how I can proceed with this report? Can a change > be made in libstdc++ or should it be considered a compiler issue? Both, I think.

[Bug c++/99130] variable template in unevaluated context is instantiated when should not be

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

[Bug tree-optimization/101944] suboptimal SLP for reduced case from namd_r

2021-08-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 --- Comment #3 from Richard Biener --- On x86 we even have Vector cost: 136 Scalar cost: 196 note that we seem to vectorize the reduction but that only happens with -ffast-math, not -O2 -ftree-slp-vectorize? One issue is the association o

[Bug tree-optimization/101944] suboptimal SLP for reduced case from namd_r

2021-08-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 --- Comment #4 from Richard Biener --- note vectorizer costing does not look at dependencies at all, it just sums up individual instruction latencies (and assumes unlimited throughput as well).

[Bug target/91598] [9 regression] 60% speed drop on neon intrinsic loop

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 --- Comment #14 from CVS Commits --- The trunk branch has been updated by Maxim Kuvyrkov : https://gcc.gnu.org/g:6d527883072ce96a33169036fca7740172223b52 commit r12-2946-g6d527883072ce96a33169036fca7740172223b52 Author: Maxim Kuvyrkov Date:

[Bug target/91598] [9 regression] 60% speed drop on neon intrinsic loop

2021-08-17 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 Maxim Kuvyrkov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/47562] [meta-bug] keep track of Neon Intrinsics enhancements

2021-08-17 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47562 Bug 47562 depends on bug 91598, which changed state. Bug 91598 Summary: [9 regression] 60% speed drop on neon intrinsic loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 What|Removed |Added ---

[Bug target/95958] [meta-bug] Inefficient arm_neon.h code for AArch64

2021-08-17 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95958 Bug 95958 depends on bug 91598, which changed state. Bug 91598 Summary: [9 regression] 60% speed drop on neon intrinsic loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 What|Removed |Added ---

[Bug target/93897] Poor trivial structure initialization code with -O3

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93897 --- Comment #8 from Hongtao.liu --- > mainfunc: > .LFB0: > .cfi_startproc > movl$foo, %edx > movl$bar, %eax > vmovq %rdx, %xmm0 > vpinsrq $1, %rax, %xmm0, %xmm0 > vmovdqu %xmm0, (%rdi) > ret >

[Bug target/101946] New: crosscompilation of the kernel for MIPS fails

2021-08-17 Thread sudipm.mukherjee at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946 Bug ID: 101946 Summary: crosscompilation of the kernel for MIPS fails Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ada/101947] New: [12 Regression] Broken Ada bootstrap in get_base_type_offset, at dwarf2out.c:4330

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
-config=bootstrap-lto: +===GNAT BUG DETECTED==+ | 12.0.0 20210817 (experimental) (x86_64-pc-linux-gnu) GCC error: | | in get_base_type_offset, at dwarf2out.c:4330 | | Error detected around ../../gcc/ada

[Bug ada/101947] [12 Regression] Broken Ada bootstrap in get_base_type_offset, at dwarf2out.c:4330

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/101923] std::function's move ctor is slower than the copy one for empty source objects

2021-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #7 from Jonathan Wakely --- We can do better than just making the swap conditional: function(function&& __x) noexcept : _Function_base(), _M_invoker(__x._M_invoker) { if (static_cast(__x)) {

[Bug c++/67752] In a template instantiation containing sizeof...(ArgPack), the mangling for sizeof(ArgPack...) is emitted instead

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67752 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/101946] crosscompilation of the kernel for MIPS fails

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946 --- Comment #1 from Andrew Pinski --- Did you change binutils too?

[Bug target/101946] crosscompilation of the kernel for MIPS fails

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

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #5 from Hongtao.liu --- (In reply to Andrew Pinski from comment #2) > Confirmed, In this case, it is a middle-end issue, I suspect if we used > V2SFmode for the incoming argument, it might work better. Right now we Yes, under TAREGT_

[Bug target/101946] crosscompilation of the kernel for MIPS fails

2021-08-17 Thread sudipm.mukherjee at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946 --- Comment #3 from Sudip --- Ohhh.. yes. I updated binutils also to "tag: binutils-2_37". For the kernel source this was seen while I was testing the build for v5.4.142- rc2 and I have checked there has been no kernel code change which can cau

[Bug c++/71007] Divergence between treatment of char[0] between OR (=> SFINAE failure) and diagnostic printing (no failure)

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71007 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ada/101947] [12 Regression] Broken Ada bootstrap in get_base_type_offset, at dwarf2out.c:4330 since r12-2927-g29020d0527512ae0444ad32b1461b7f8526e7427

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug ada/101947] [12 Regression] Broken Ada bootstrap in get_base_type_offset, at dwarf2out.c:4330 since r12-2927-g29020d0527512ae0444ad32b1461b7f8526e7427

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 --- Comment #2 from Martin Liška --- Started with r12-2927-g29020d0527512ae0444ad32b1461b7f8526e7427.

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > (In reply to Andrew Pinski from comment #2) > > Confirmed, In this case, it is a middle-end issue, I suspect if we used > > V2SFmode for the incoming argument, it mig

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #7 from Andrew Pinski --- (In reply to Hongtao.liu from comment #6) > (In reply to Hongtao.liu from comment #5) > > (In reply to Andrew Pinski from comment #2) > > > Confirmed, In this case, it is a middle-end issue, I suspect if we u

[Bug target/101946] crosscompilation of the kernel for MIPS fails

2021-08-17 Thread sudipm.mukherjee at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946 --- Comment #4 from Sudip --- (In reply to Sudip from comment #3) > Ohhh.. yes. I updated binutils also to "tag: binutils-2_37". > > For the kernel source this was seen while I was testing the build for > v5.4.142- rc2 and I have checked there

[Bug target/101946] crosscompilation of the kernel for MIPS fails

2021-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/101944] suboptimal SLP for reduced case from namd_r

2021-08-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101944 --- Comment #5 from Kewen Lin --- (In reply to Richard Biener from comment #3) > On x86 we even have > > Vector cost: 136 > Scalar cost: 196 > > note that we seem to vectorize the reduction but that only happens with > -ffast-math, not -O2

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #8 from Hongtao.liu --- > You have to do a little bit more. Like change how the extraction for the two > parts for the concat. We already have vec_extractv2sfsf/vec_setv2sf, will debug to figure out why they're not used.

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #9 from Hongtao.liu --- (In reply to Hongtao.liu from comment #8) > > You have to do a little bit more. Like change how the extraction for the two > > parts for the concat. > > We already have vec_extractv2sfsf/vec_setv2sf, will debu

[Bug fortran/101948] New: [OpenMP] gfc_split_omp_clauses + REDUCTION with TASK modifier

2021-08-17 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101948 Bug ID: 101948 Summary: [OpenMP] gfc_split_omp_clauses + REDUCTION with TASK modifier Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp, rejects-

[Bug fortran/101948] [OpenMP] gfc_split_omp_clauses + REDUCTION with TASK modifier

2021-08-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101948 --- Comment #1 from Jakub Jelinek --- Clauses on Combined and Composite Constructs section says: "If the task reduction-modifier is specified, the effect is as if it only modifies the behavior of the reduction clause on the innermost leaf constr

[Bug target/100896] --enable-initfini-array should be enabled for cross compiler to Linux

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100896 --- Comment #3 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:9c560cf23996271ee26dfc4a1d8484b85173cd12 commit r12-2954-g9c560cf23996271ee26dfc4a1d8484b85173cd12 Author: Christophe Lyon Date:

[Bug jit/101942] many jit test failures (test-accessing-bitfield.c.exe et al.)

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101942 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/101923] std::function's move ctor is slower than the copy one for empty source objects

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0808b0df9c4d31f4c362b9c85fb538b6aafcb517 commit r12-2959-g0808b0df9c4d31f4c362b9c85fb538b6aafcb517 Author: Jonathan Wakely Date:

[Bug target/100305] [10 Regression] aarch64: ICE in output_operand_lossage with -O3

2021-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 --- Comment #16 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3e44c89e672ec18ce31edecf5b5bac980ce411e5 commit r10-10040-g3e44c89e672ec18ce31edecf5b5bac980ce411e5 Author: Richard S

[Bug target/100305] [10 Regression] aarch64: ICE in output_operand_lossage with -O3

2021-08-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100305 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resoluti

[Bug c++/101940] Implement -fignored-attributes

2021-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 --- Comment #2 from Marek Polacek --- Possibly. I thought I'd rather keep the names of the option and pragma the same, but maybe that's not necessary.

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #16 from Martin Liška --- All right, so what's different about JSON and non-JSON mode: 1) normal mode: gcov src/a.c test/a.c First, gcda/gcno files are searched for both the arguments (so src/a.gcda, ..) and then output is emitted

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #17 from Martin Liška --- > $ gcov src/a.x b.yy --json-format this ought to be src/a.c b.c (but as you noticed gcov deduces .gcda/.gcno files by skipping the last dot component of a path). That's why it works as well.

[Bug other/101949] New: git miscompiled with -flto -fipa-pta

2021-08-17 Thread alex_y_xu at yahoo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 Bug ID: 101949 Summary: git miscompiled with -flto -fipa-pta Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug other/101949] git miscompiled with -flto -fipa-pta

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

[Bug c++/101940] Implement -fignored-attributes

2021-08-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Last reconfi

[Bug c++/101904] Wrong result of decltype during instantiation of std::result_of

2021-08-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101904 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > I think Clang doesn't even bother to instantiate the return type for the > non-const overload, because it wouldn't be viable. I'm not sure if that's a > conf

[Bug c++/101940] Implement -fignored-attributes

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

[Bug c/101950] New: __builtin_clrsb is never inlined

2021-08-17 Thread sven.koehler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101950 Bug ID: 101950 Summary: __builtin_clrsb is never inlined Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c A

[Bug jit/101942] many jit test failures (test-accessing-bitfield.c.exe et al.)

2021-08-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101942 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-17 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #18 from xaizek --- > The following 2 files should be created (right now b.gcov.json.gz and > a.gcov.json.gz are created) > > b.gcov.json.gz > src/a.gcov.json.gz > > and so -p and -x does not play any role here. Now you'll need to

  1   2   >