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

2021-08-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 --- Comment #3 from Richard Biener --- (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 foo1. > > v2df foo1 (v2df x, v2df y) > { > v2df a;

[Bug ipa/97952] Poor optimization of closure-like construct in C++ as compared to C

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952 --- Comment #3 from Andrew Pinski --- That is for the C case replace: auto Skip_f skip_zero, skip_one_half, skip_one, command_skip_zero, command_skip,skip; With: inline auto Skip_f skip_zero,

[Bug ipa/97952] Poor optimization of closure-like construct in C++ as compared to C

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952 Andrew Pinski changed: What|Removed |Added Component|middle-end |ipa CC|

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

2021-08-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99160 --- Comment #5 from Jonathan Wakely --- If that's what "ignored" means here then I think a note would be helpful.

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

2021-08-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #9 from Richard Biener --- I also have a testcase for the testsuite.

[Bug c++/101943] ICE: Segmentation fault (in cat_tag_for)

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Andrew Pinski --- Confirmed, still crashes in 20210816. The crash is hidden because of a previous error on the release branches so this is not a regression. That is: :5: confused by earlier errors, bailing out Is really an ICE just hidden from the user.

[Bug c++/101943] ICE: Segmentation fault (in cat_tag_for)

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101943 Andrew Pinski changed: What|Removed |Added Summary|[12 Regression] ICE:|ICE: Segmentation fault (in

[Bug c++/101943] [12 Regression] ICE: Segmentation fault (in cat_tag_for)

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

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 Andrew Pinski changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #14

[Bug c++/101943] [12 Regression] ICE: Segmentation fault (in cat_tag_for)

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

[Bug target/98911] Add folding and remove expanders for x86 *pcmp{et,gt}* builtins

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

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

2021-08-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #8 from Richard Biener --- (In reply to Marek Polacek from comment #7) > Is there any chance that this fix could be backported to 11 or is it too > risky? To fix this bug it should be enough to backport the following part: * tree-s

[Bug rtl-optimization/100213] Signed integer overflow in poly-int.h via alias.c:memrefs_conflict_p

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100213 --- Comment #2 from Andrew Pinski --- overflow in pointer types juck.

[Bug c++/101943] New: [12 Regression] ICE: Segmentation fault (in cat_tag_for)

2021-08-16 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101943 Bug ID: 101943 Summary: [12 Regression] ICE: Segmentation fault (in cat_tag_for) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug c/98195] internal compiler error: Segmentation fault

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Andrew Pinski changed: What|Removed |Added Target Milestone|11.3|--- Summary|[11/12 Regression

[Bug target/101697] [11/12 regression] ICE compiling uClibc-ng for h8300-linux

2021-08-16 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101697 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4

[Bug target/101697] [11/12 regression] ICE compiling uClibc-ng for h8300-linux

2021-08-16 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101697 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/98195] [11/12 Regression] internal compiler error: Segmentation fault

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 --- Comment #5 from Andrew Pinski --- *** Bug 101108 has been marked as a duplicate of this bug. ***

[Bug c/101108] ICE: segmentation fault: gimplify_target_expr, gimplify.c:6760

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

[Bug c/98195] [11/12 Regression] internal compiler error: Segmentation fault

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Andrew Pinski changed: What|Removed |Added CC||cnsun at uwaterloo dot ca --- Comment #4

[Bug middle-end/100624] ICE: Segmentation fault, gimplify_target_expr

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

[Bug c/98195] [11/12 Regression] internal compiler error: Segmentation fault

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98195 Andrew Pinski 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-16 Thread dartdart26 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #5 from Petar Ivanov --- (In reply to Andrew Pinski from comment #4) > Hmm > > __tmp = MEM[(union _Any_data & {ref-all})&f]; > MEM[(union _Any_data * {ref-all})&f] = MEM[(union _Any_data & > {ref-all})&moved]; > MEM[(union _An

[Bug c++/92695] P1064R0 - virtual constexpr fails if object taken from array

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695 --- Comment #22 from Andrew Pinski --- Looks like the testcase in comment #12 was not resolved with the patches but is filed as PR 93413.

[Bug c++/93413] Destructor definition not found during constant evaluation

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93413 --- Comment #5 from Andrew Pinski --- The problem is the default Destructor in the Derived for the other examples. So this can be reduced to just: struct Base { constexpr virtual ~Base() = default; }; constexpr Base b;

[Bug c++/93413] Destructor definition not found during constant evaluation

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93413 Andrew Pinski changed: What|Removed |Added CC||oleksandr.koval.dev at gmail dot c

[Bug c++/99495] constexpr virtual destructor is used before its definition

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

[Bug c++/93413] Destructor definition not found during constant evaluation

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93413 Andrew Pinski changed: What|Removed |Added CC||pkeir at outlook dot com --- Comment #3

[Bug c++/96614] constexpr deletion failure through pointer to base with virtual base class

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

[Bug target/100212] UB (shift by -1) in aarch64_classify_index

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

[Bug c/100206] aarch64: UB in varasm.c:output_object_block and assembly failure

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100206 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Ever confirmed|0

[Bug tree-optimization/100171] autovectorizer

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100171 --- Comment #4 from Andrew Pinski --- testcase: #include #include template class foo { public: using array_type = std::array; array_type value; inline constexpr foo&operator+=(const foo& arg)noexcept {

[Bug c++/97234] Constexpr class-scope array initializer referencing previous elements

2021-08-16 Thread botond at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97234 --- Comment #2 from Botond Ballo --- I believe it's valid because the point of declaration of a variable is just before its initializer (https://timsong-cpp.github.io/cppwp/n4861/basic.scope.pdecl#1), and thus the variable should be in scope in i

[Bug tree-optimization/96702] Failure to optimize comparisons involving result of subtraction

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

[Bug c++/97890] Abstract virtual classes suddenly allowed as parameter types ?

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

[Bug c++/97234] Constexpr class-scope array initializer referencing previous elements

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97234 --- Comment #1 from Andrew Pinski --- ICC and MSVC reject it similar to GCC even. Are you sure this is valid?

[Bug c++/96934] [9 Regression] Copy initialization of struct involving aggregate array initialization miscompiles in GCC 9

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96934 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Summary|Copy initializa

[Bug c++/96934] Copy initialization of struct involving aggregate array initialization miscompiles in GCC 9

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96934 --- Comment #2 from Andrew Pinski --- Testcase: #include struct Code { constexpr Code(int) noexcept : _buffer{'1', '2', '\0'} {} char _buffer[3]; }; const Code T1 = {1}; const Code T2 = Code{1}; const Code T3 = T1; const Code T4 = T2;

[Bug c++/87709] c++17 class template argument deduction not working in a very specific case

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87709 Andrew Pinski changed: What|Removed |Added CC||pkeir at outlook dot com --- Comment #13

[Bug c++/88762] C++17 Deduction guide and operator expression produces missing template argument error

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

[Bug c++/87709] c++17 class template argument deduction not working in a very specific case

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

[Bug c++/96878] Failed class template argument deduction in unevaluated, parenthesized context

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

[Bug c++/96880] undefined reference to `__dynamic_cast' when compiling with -fsanitize=vptr and -static

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

[Bug c++/92293] No reason given for template argument deduction failure with zero-length array

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92293 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 24663.

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 Andrew Pinski changed: What|Removed |Added CC||felix.morgner at gmail dot com --- Comme

[Bug c++/79957] Zero-length array function parameters in templates should cause warning/substituion failure in pedantic mode

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

[Bug c++/24663] Template instantiation generating a zero-sized array doesn't fail

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24663 Andrew Pinski changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/96944] call of overloaded is ambiguous

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

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

2021-08-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97147 --- Comment #2 from Hongtao.liu --- Disable (define_insn "*sse3_haddv2df3_low" and (define_insn "*sse3_hsubv2df3_low" seems to be ok. But for foo1. v2df foo1 (v2df x, v2df y) { v2df a; a[0] = x[0] + x[1]; a[1] = y[0] + y[1]; return a; }

[Bug middle-end/20623] ICE: fold check: original tree changed by fold with --enable-checking=fold

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20623 Andrew Pinski changed: What|Removed |Added Depends on||89560, 89503, 71071 Resolution|-

[Bug rtl-optimization/20369] noce_emit_move_insn emits invalid insns

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20369 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-03-05 00:00:00 |2021-8-16 --- Comment #5 from Andrew Pin

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

2021-08-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101936 --- Comment #2 from Hongtao.liu --- I'll take a look at why there's the regression and revert my patch. There's already another regression by this commit https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929

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

2021-08-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101942 Bug ID: 101942 Summary: many jit test failures (test-accessing-bitfield.c.exe et al.) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2021-08-16 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99160 --- Comment #4 from jim x --- [namespace.udecl#1] says > Each using-declarator in a using-declaration names the set of declarations > found by lookup ([basic.lookup.qual]) for the using-declarator, except that > class and enumeration declaratio

[Bug tree-optimization/101909] 73% regression on tfft benchmark for -O2 -ftree-loop-vectorize compared to -O2 on zen hardware

2021-08-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101909 --- Comment #5 from Hongtao.liu --- Just note there is no regression for tfft benchmark comparing -O2 -ftree-loop-vectorize to -O2 on CLX.

[Bug target/97442] Wrong represenation of AArch64 saba in RTL

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97442 --- Comment #1 from Andrew Pinski --- I think this was fixed for GCC 11 with r11-6540. The trunk definitely works.

[Bug c++/95741] Optimization skips destructor and calls terminate directly

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

[Bug c++/91966] [8 Regression] pack expansion for Cartesian product breaks if certain indirections are involved since r6-1487-g1a4cd2cd7e7266b0

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91966 Andrew Pinski changed: What|Removed |Added CC||d.frey at gmx dot de --- Comment #8 from

[Bug c++/91747] Using a type alias leads to wrong static values.

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

[Bug target/85434] Address of stack protector guard spilled to stack on ARM

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0 Resolution|---

[Bug target/85434] Address of stack protector guard spilled to stack on ARM

2021-08-16 Thread khalid.a.gomaa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85434 Khalid Gomaa changed: What|Removed |Added CC||khalid.a.gomaa at gmail dot com --- Comme

[Bug target/63639] m32c cond.md cond_to_int uses -1 for lt and gt

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

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 Andrew Pinski changed: What|Removed |Added CC||pa...@matos-sorge.com --- Comment #13 fr

[Bug rtl-optimization/49884] get_last_value in combine ignores register mode

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

[Bug rtl-optimization/55025] reg_nonzero_bits_for_combine/get_last_value: missing mode check for hardware registers

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

[Bug rtl-optimization/71976] insn-combiner deletes a live 64-bit shift

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71976 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.5 Known to work|

[Bug middle-end/36041] Speed up builtin_popcountll

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #25 from

[Bug bootstrap/56259] GCC's configure script has a hard-coded setting of 'with_gmp' for FreeBSD

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56259 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2013-02-10 00:00:00 |2021-8-16 Keywords|

[Bug target/55246] Define a macro for 16*1024*1024 in i386.c

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55246 Andrew Pinski changed: What|Removed |Added Keywords||internal-improvement --- Comment #3 from

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

2021-08-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 David Malcolm changed: What|Removed |Added Summary|Linux kernel build failure |[12 Regression] Linux

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

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 Andrew Pinski changed: What|Removed |Added Depends on||94818 --- Comment #2 from Andrew Pinski

[Bug middle-end/31469] move_by_pieces in expr.c function bug

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

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

2021-08-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 --- Comment #1 from David Malcolm --- Created attachment 51311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51311&action=edit Reduced reproducer

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

2021-08-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 Bug ID: 101941 Summary: Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__)) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/42722] move_by_pieces() incorrectly pushes structures to stack

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42722 Andrew Pinski changed: What|Removed |Added Severity|major |enhancement Keywords|

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2021-08-16 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 --- Comment #8 from John Paul Adrian Glaubitz --- FWIW, it seems the situation seems to be the same on 32-bit SPARC: > https://reviews.llvm.org/D98575#2947973 So, I guess the suggested solution would be the one from Comment 7.

[Bug target/39768] internal compiler error: RTL check: expected code 'const_int', have 'reg' in gen_rotlsi3, at config/bfin/bfin.md:1616

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39768 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug driver/101238] [9/10 only] backport r11-8147 to gcc-10 and gcc-9: Driver won't find cc1/cc1plus on MinGW, CXXFLAGS need -D__USE_MINGW_ACCESS

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101238 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|Driver won't find

[Bug middle-end/94083] inefficient soft-float x!=Inf code

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94083 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|m

[Bug tree-optimization/95960] GCC should re-vectorize vector code with larger VF

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95960 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

2021-08-16 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #6 from Steve Kargl --- On Mon, Aug 16, 2021 at 06:49:54PM +, anlauf at gcc dot gnu.org wrote: > > > subroutine foo4 > > implicit none > > real(4) :: ar(2,3), v(1) > > That should have read: > > real :: ar(2,3), v(1) >

[Bug target/94915] MAX_EXPR weirdly optimized on x86 with -mtune=core2

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

[Bug tree-optimization/31485] C complex numbers, amd64 SSE, missed optimization opportunity

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #27 from A

[Bug rtl-optimization/31485] C complex numbers, amd64 SSE, missed optimization opportunity

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31485 --- Comment #26 from Andrew Pinski --- Note there might be a dup of this bug somewhere too.

[Bug target/101933] Unloaded dll with global std::mutex causes exe to crash on exit #38

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101933 --- Comment #1 from Andrew Pinski --- I suspect it is because __cxa_exit is not used such that deconstructors are not called at unload of the dll time.

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

2021-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

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

2021-08-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 Bug ID: 101940 Summary: Implement -fignored-attributes Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector has the wrong type

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #6 from Andrew Pi

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector has the wrong type

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 --- Comment #5 from Andrew Pinski --- Here is another testcase which should be rejected, this time C++11 (rather than C++98). typedef __attribute__((vector_size(16))) unsigned char __Int8x8_t; void f(const __Int8x8_t x) { decltype(x[0]) a = x

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector has the wrong type

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 --- Comment #4 from Andrew Pinski --- Most likely caused by r7-987.

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector has the wrong type

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 --- Comment #3 from Andrew Pinski --- Refence in the f function is not needed: typedef __attribute__((vector_size(16))) unsigned char __Int8x8_t; template void g(T &x) { x = 1; } void f(const __Int8x8_t x) { g(x[0]); }

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector is considered a rvalue

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

[Bug c++/89224] [9/10/11/12 Regregression] subscript of const vector is considered a rvalue

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Summary|subscript of cons

[Bug c++/89224] subscript of const vector is considered a rvalue

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 Andrew Pinski changed: What|Removed |Added Blocks||88670 Known to fail|

[Bug objc/101718] Objective-C frontend emits wrong code to call methods returning scalar types returned in memory

2021-08-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101718 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org

[Bug fortran/99351] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:695

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

[Bug fortran/99351] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:695

2021-08-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99351 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4a414ac2a58b63002a0c13f4ec65a5cfbec32a98 commit r11-8873-g4a414ac2a58b63002a0c13f4ec65a5cfbec32a98 Author: Harald Anlauf D

[Bug rtl-optimization/101939] Register spilling when zero initialization of ymm array is defered past the declaration point.

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101939 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra --- Comment #4

[Bug objc/101718] Objective-C frontend emits wrong code to call methods returning scalar types returned in memory

2021-08-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101718 Iain Sandoe changed: What|Removed |Added Last reconfirmed||2021-08-16 Ever confirmed|0

[Bug rtl-optimization/101939] Register spilling when zero initialization of ymm array is defered past the declaration point.

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101939 --- Comment #3 from Andrew Pinski --- Your inline-asm is incorrect too. It should be: asm( "vpaddsw %[tmp0], %[tmp1], %[tmp0]\n\t" "vpmaddwd%[tmp0], %[ones], %[tmp0]\n\t" "vpaddd %[acc], %[tmp0], %[acc]

  1   2   3   >