[Bug target/12395] Suboptimal code with global variables

2021-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12395 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* --- Comment #21 fro

[Bug target/12395] Suboptimal code with global variables

2021-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12395 --- Comment #20 from Richard Biener --- (In reply to Andrew Pinski from comment #19) > (In reply to Andrew Pinski from comment #18) > > This is what is produced (at least for 7.3.0): > Which has been produced since GCC 6. > that is due to ifcvt.c

[Bug c++/67499] c++ template/overload diagnostic compression

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67499 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-09-08 00:00:00 |2021-8-22 --- Comment #9 from Andrew Pin

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-08-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 65335, which changed state. Bug 65335 Summary: Potential optimization issue with 'tree-loop-vectorize' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65335 What|Removed |Added

[Bug tree-optimization/65335] Potential optimization issue with 'tree-loop-vectorize'

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

[Bug c++/59701] [DR 1430] A variadic alias template aliasing another variadic alias template doesn't work

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59701 --- Comment #3 from Andrew Pinski --- MSVC rejects with: (3): error C2210: 'T': pack expansions cannot be used as arguments to non-packed parameters in alias templates

[Bug target/101922] mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-22 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92232] [C++17] Unable to deduce template function parameter

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92232 --- Comment #2 from Andrew Pinski --- Shorter testcase: int myFunc(int); template struct f; f *t; template int f1(); int t1 = f1();

[Bug c++/29027] template conversion specialization found by using declaration

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29027 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-06-21 00:00:00 |2021-8-22 --- Comment #7 from Andrew Pin

[Bug target/101922] mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 --- Comment #4 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:f93f0868919ab32bfbc24adb40158298031a4d58 commit r12-3063-gf93f0868919ab32bfbc24adb40158298031a4d58 Author: Xi Ruoyao Date: Fri Aug 2

[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows

2021-08-22 Thread arthur200126 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 Mingye Wang changed: What|Removed |Added CC||arthur200126 at gmail dot com --- Comment

[Bug c++/92494] ICE on function templates with placeholder return type decltype([]{}) and if return type doesn't match

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92494 --- Comment #1 from Andrew Pinski --- This is fixed in GCC 10+.

[Bug c++/88162] GCC does not accept non-type template parameters of class type

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88162 --- Comment #1 from Andrew Pinski --- ICC also rejects this at both -std=c++17 and -std=c++20: (15): error: a nontype template parameter may not have class type template class T> using nttp_t = typename decltype( f(T()) )::type;

[Bug c++/86959] Use of a variadic alias template unexpectedly breaks compilation

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86959 --- Comment #1 from Andrew Pinski --- clang ICEs with -std=c++20 :). GCC ICEs starting in GCC 9: : In substitution of 'template template using Alias = Outer< >::Inner [with T = {void}; = void]': :18:38: required from here :8:11: internal com

[Bug c++/86234] non-type template argument is not a constant expression

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86234 --- Comment #1 from Andrew Pinski --- If I place "A t;" before main(), then ICC, clang and MSVC all accept the code. That seems out a bit backwards for me but I don't know the C++ standard really. But it might point out why GCC is accepting the c

[Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction)

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

[Bug c++/15272] lookup, dependent base

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

[Bug c++/82947] Variadic `using` directive incorrectly compiled without base classes (with class template argument deduction)

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82947 --- Comment #1 from Andrew Pinski --- In GCC 11+ we get: : In instantiation of 'struct foo >': :16:19: required from here :8:29: error: type 'main()::' is not a base type for type 'foo >' 8 | using Ts::operator()...; |

[Bug c++/78753] non-ambiguous overload resolution with function template partial ordering rules

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78753 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid --- Comment #2 from Andr

[Bug c++/62227] [DR535] Templated move not elided

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62227 --- Comment #5 from Andrew Pinski --- C++17 and C++20 modes no longer print move since GCC 7. Most likely due to the patches to implement p0135. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0135r1.html

[Bug c++/16191] Note for missing 'template' reports wrong template parameter

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191 --- Comment #8 from Andrew Pinski --- Looks like the resolution of DR1710 (though it was supposed to be C++17+) causes the code without the template to be accepted which means this should be rejected for C++98, C++03, C++11 and C++14

[Bug c++/94057] [9 Regression] -std=gnu++20 causes failure naming nested templated class since r9-4536

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

[Bug c++/16191] Note for missing 'template' reports wrong template parameter

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16191 --- Comment #7 from Andrew Pinski --- Hmm, this code started be accepted in GCC 10+; I suspect by the fix for PR 94057. was that really expected?

[Bug target/30484] INT_MIN % -1 is well defined for -fwrapv

2021-08-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30484 --- Comment #12 from Vincent Lefèvre --- (In reply to Joseph S. Myers from comment #10) > There is still a bug for the -fwrapv case, where clearly both INT_MIN / -1 > and INT_MIN % -1 should be well defined, but probably the extra checks > if imp

[Bug c++/78223] [DR1454] struct containing default member initializer fails constexpr test in aggregate initialization

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78223 Andrew Pinski changed: What|Removed |Added Summary|struct containing default |[DR1454] struct containing

[Bug c++/61991] Destructors not always called for statically initialized thread_local objects

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61991 --- Comment #2 from Andrew Pinski --- GCC, clang and ICC all have this same behavior in that if y is not used, the y is not initialized or deconstructed.

[Bug c++/92073] references/pointers to thread_local are not constant expressions

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

[Bug c++/59994] [meta-bug] thread_local

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 60673, which changed state. Bug 60673 Summary: c++11 static thread_local members may cause a segfault when accessed via 'this->' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60673 What|Removed

[Bug c++/60702] thread_local initialization

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60702 Andrew Pinski changed: What|Removed |Added CC||michael at ensslin dot cc --- Comment #2

[Bug c++/60673] c++11 static thread_local members may cause a segfault when accessed via 'this->'

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

[Bug target/15533] Missed move to partial register

2021-08-22 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #5 fro

[Bug c++/60673] c++11 static thread_local members may cause a segfault when accessed via 'this->'

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60673 --- Comment #3 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #2) > This seems to be fixed in GCC 5 onwards (and recent Clang versions). It was not fixed until GCC 7.5, 8.4 and 9+. Here is a reduced testcase which shows it was

[Bug c++/81880] thread_local static member template initialisation fails

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81880 --- Comment #4 from Andrew Pinski --- Reduced testcase: extern "C" void abort(void); struct tt { int *tt1 = new int{1}; int bucket_count() const {return *tt1;} }; struct A { template thread_local static tt m; }; template thread_local tt A::

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #17 from H.J. Lu --- (In reply to H.J. Lu from comment #16) > On Linux/x86-64 with -m32, r12-3059 gave > > FAIL: gcc.dg/lto/pr101949 c_lto_pr101949_0.o-c_lto_pr101949_1.o execute -O2 > -fipa-pta -flto -flto-partition=1to1 It also f

[Bug c++/44613] Declaring an array with non-constant length inside a switch corrupts stack pointer.

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

[Bug c/98397] C2X: pointers to arrays with qualifiers are now pointers to qualified types

2021-08-22 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98397 Martin Uecker changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/82940] Suboptimal code for (a & 0x7f) | (b & 0x80) on powerpc

2021-08-22 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82940 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #6 fro

[Bug c/98397] C2X: pointers to arrays with qualifiers are now pointers to qualified types

2021-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98397 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:972eab51f53d1db26864ec7d62d40c2ff83407ec commit r12-3060-g972eab51f53d1db26864ec7d62d40c2ff83407ec Author: Martin Uecker Date: Su

[Bug c++/55885] Modulo operator crashes for int and long variables if they have minimal value

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55885 Andrew Pinski changed: What|Removed |Added CC||Eric.Deplagne at nerim dot net --- Comme

[Bug c/29511] 0x80000000/-1 causes FPE on Intel/AMD

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

[Bug c++/55885] Modulo operator crashes for int and long variables if they have minimal value

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55885 --- Comment #7 from Andrew Pinski --- Note PR 30484 is for the -fwrapv issue with %.

[Bug c++/55885] Modulo operator crashes for int and long variables if they have minimal value

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55885 Andrew Pinski changed: What|Removed |Added CC||jens.seifert at de dot ibm.com --- Comme

[Bug tree-optimization/93013] PPC: optimization around modulo leads to incorrect result

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

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #16 fr

[Bug libstdc++/89979] subtract_with_carry_engine incorrect carry flag

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979 --- Comment #3 from Andrew Pinski --- LLVM's libc++ does not go into the 0 loop but still does not do a good job: 4294967295 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 4294967295 1 0 0 0 0 0 4294967295 4294967295 1 0 0 0 0 4294967295 4294967295 42

[Bug c++/87312] statics in lambdas should be weak not local symbols

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

[Bug libstdc++/102015] [missed optimization] Small memory overhead in _Rb_tree_impl (fix would require ABI break)

2021-08-22 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102015 --- Comment #2 from Kamil Kaznowski --- (In reply to Andrew Pinski from comment #1) > https://stackoverflow.com/questions/66573773/is-there-a-reason-for-8-bytes- > of-size-overhead-in-libstdc-stdmultiset-map This is my post, I forgot to post a

[Bug tree-optimization/79334] Segfault on tree loop hoisting

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79334 --- Comment #5 from Andrew Pinski --- (In reply to Alan Modra from comment #4) > When you have the tree optimization bug fixed, this becomes an rtl > optimization bug since rtl pre does the same as tree pre.. GCSE was fixed with PR 78812. So thi

[Bug c++/77312] Lambda that deletes itself accesses freed memory, but only if class is templated

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

[Bug c++/77312] Lambda that deletes itself accesses freed memory, but only if class is templated

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77312 --- Comment #7 from Andrew Pinski --- This is fixed in GCC 8: if (SAVE_EXPR <(struct LambdaHolder *) this> != 0B) { try { LambdaHolder::~LambdaHolder (SAVE_EXPR <(struct LambdaHolder *) this>); } final

[Bug rtl-optimization/57448] GCSE generates incorrect code with acquire barrier

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57448 Andrew Pinski changed: What|Removed |Added CC||lucenadeveloper at gmail dot com --- Co

[Bug rtl-optimization/70889] memory reordering across loads tagged as memory_order_seq_cst

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

[Bug rtl-optimization/57448] GCSE generates incorrect code with acquire barrier

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

[Bug fortran/94070] Assumed-rank arrays – bounds mishandled, SIZE/SHAPE/UBOUND/LBOUND

2021-08-22 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 sandra at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |sandra at gcc dot gnu.

[Bug rtl-optimization/70889] memory reordering across loads tagged as memory_order_seq_cst

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70889 --- Comment #1 from Andrew Pinski --- Testcase: #include #include std::atomic seq_; std::size_t value; auto load() { std::size_t copy; std::size_t seq0; do { seq0 = seq_.load(); if (!seq0) continue; co

[Bug rtl-optimization/97836] wrong code at -O1 on x86_64-pc-linux-gnu by r11-5029

2021-08-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97836 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/101257] [11/12 Regression] Maybe wrong code since IPA mod ref was introduced

2021-08-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101257 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/101296] Addition of x86 addsub SLP patterned slowed down 433.milc by 12% on znver2 with -Ofast -flto

2021-08-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101296 --- Comment #7 from Jan Hubicka --- "every access" means that we no longer track individual bases+offsets+sizes and everything matching the base/ref alias set will be considered conflicting. I planned to implement smarter merging of accesses so

[Bug libstdc++/102015] [missed optimization] Small memory overhead in _Rb_tree_impl (fix would require ABI break)

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102015 --- Comment #1 from Andrew Pinski --- https://stackoverflow.com/questions/66573773/is-there-a-reason-for-8-bytes-of-size-overhead-in-libstdc-stdmultiset-map

[Bug ipa/101949] [11/12 Regression] git miscompiled with -flto -fipa-pta since r11-5061-g85ebbabd85e03bdc

2021-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101949 --- Comment #15 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:9b08f7764cecd16cba84944f2a8b67a7f73a7ce7 commit r12-3059-g9b08f7764cecd16cba84944f2a8b67a7f73a7ce7 Author: Jan Hubicka Date: Sun

[Bug target/58897] Improve 128/64 division

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58897 Andrew Pinski changed: What|Removed |Added CC||kamkaz at windowslive dot com --- Commen

[Bug c/102014] [missed optimization] __uint128_t % uint64_t emits a call to __umodti3 instead of div instruction

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

[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned

2021-08-22 Thread arthur200126 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 --- Comment #6 from Mingye Wang --- FWIW, the ticket about doing stuff to align the stack in the prologue is bug 54412. Apologies for the noisy emails, but thing is I can't do the see-also thing here.

[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned

2021-08-22 Thread arthur200126 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 Mingye Wang changed: What|Removed |Added CC||arthur200126 at gmail dot com --- Comment

[Bug c++/102015] New: [missed optimization] Small memory overhead in _Rb_tree_impl (fix would require ABI break)

2021-08-22 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102015 Bug ID: 102015 Summary: [missed optimization] Small memory overhead in _Rb_tree_impl (fix would require ABI break) Product: gcc Version: 11.2.1 Status: UNCONFIRMED

[Bug c/102014] [missed optimization] __uint128_t % uint64_t emits a call to __umodti3 instead of div instruction

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

[Bug fortran/102011] Infinite loop in heron iteration when optimization is enabled with gfortran 10.3.0

2021-08-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102011 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug c/102014] New: [missed optimization] __uint128_t % uint64_t emits a call to __umodti3 instead of div instruction

2021-08-22 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102014 Bug ID: 102014 Summary: [missed optimization] __uint128_t % uint64_t emits a call to __umodti3 instead of div instruction Product: gcc Version: 11.2.1 Status: UNCONFIRME

[Bug c++/102013] New: Incorrect aggregate initialization of union

2021-08-22 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102013 Bug ID: 102013 Summary: Incorrect aggregate initialization of union Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/102012] New: GCC accepts any non-bool atomic constraint type

2021-08-22 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102012 Bug ID: 102012 Summary: GCC accepts any non-bool atomic constraint type Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/100532] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2021-08-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100532 H.J. Lu changed: What|Removed |Added Summary|[12 Regression] ICE: tree |ICE: tree check: expected |

[Bug target/43147] SSE shuffle merge

2021-08-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43147 H.J. Lu changed: What|Removed |Added Keywords||patch URL|

[Bug objc/101666] Objective-C frontend crashes with `-fobjc-nilcheck`

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

[Bug fortran/102011] New: Infinite loop in heron iteration when optimization is enabled with gfortran 10.3.0

2021-08-22 Thread Ralph-Trenkler--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102011 Bug ID: 102011 Summary: Infinite loop in heron iteration when optimization is enabled with gfortran 10.3.0 Product: gcc Version: unknown Status: UNCONFIRMED Se

[Bug target/98877] [AArch64] Inefficient code generated for tbl NEON intrinsics

2021-08-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98877 Tamar Christina changed: What|Removed |Added Version|11.0|12.0 --- Comment #5 from Tamar Christi

[Bug target/98877] [AArch64] Inefficient code generated for tbl NEON intrinsics

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

[Bug target/98877] [AArch64] Inefficient code generated for tbl NEON intrinsics

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98877 --- Comment #4 from Andrew Pinski --- Here is another example where GCC messes up: #include "arm_neon.h" uint8x16_t g(void); uint8x16_t fun(uint8x16_t lo, uint8x16_t hi, uint8x16_t idx) { uint8x16x2_t tab = { .val = {g(), g()} }; uint8x16_t

[Bug rtl-optimization/64537] Aarch64 redundant sxth instruction gets generated

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

[Bug rtl-optimization/64537] Aarch64 redundant sxth instruction gets generated

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

[Bug rtl-optimization/96031] suboptimal codegen for store low 16-bits value

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

[Bug rtl-optimization/55549] zero_extend and vectors

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

[Bug rtl-optimization/87238] Redundant Restore of $x0 when memcpy always returns the first argument.

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

[Bug rtl-optimization/87238] Redundant Restore of $x0 when memcpy always returns the first argument.

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

[Bug rtl-optimization/86901] [AArch64] Suboptimal register allocation for int/float reinterpret

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86901 Andrew Pinski changed: What|Removed |Added Keywords|ra | Last reconfirmed|2020-05-16 00:00:00

[Bug rtl-optimization/81501] mulitple calls to __tls_get_addr() with -fPIC

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 Andrew Pinski changed: What|Removed |Added Summary|Unneccessary calls to |mulitple calls to |__t

[Bug rtl-optimization/81501] Unneccessary calls to __tls_get_addr() in simple thread-singleton pattern

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81501 Andrew Pinski changed: What|Removed |Added CC||amohr at amohr dot org --- Comment #4 fr

[Bug tree-optimization/82803] Wildly excessive calls to __tls_get_addr with optimizations enabled.

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

[Bug target/89517] [8/9 Regression] AArch64's configure option --with-arch can silently lead to incorrectly configured compiler

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89517 Andrew Pinski changed: What|Removed |Added CC||vladimir at bashkirtsev dot com --- Comm

[Bug target/86713] 'nofp', 'nosimd', 'nocrypto' and 'nofp16' feature modifiers for Aarch64 fail to build

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

[Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc

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

[Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc

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

[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test

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

[Bug middle-end/80295] [7 Regression] ICE in __builtin_update_setjmp_buf expander

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

[Bug target/80266] ICE in store_pairsi condition with -mabi=ilp32

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

[Bug target/80881] Implement Windows native TLS

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

[Bug target/90458] mingw64: ICE in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 with -fstack-clash-protection

2021-08-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458 Andrew Pinski changed: What|Removed |Added CC||vladimir.kokovic at gmail dot com --- C

[Bug target/97795] internal compiler error: in i386_pe_seh_unwind_emit

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

[Bug target/90458] mingw64: ICE in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 with -fstack-clash-protection

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

[Bug c/102010] ICE in stack-check-8.c in i386_pe_seh_unwind_emit

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