[Bug c/100449] Unrolled loop ignores __building_constant_p

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

[Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org L

[Bug c++/100459] [10/11/12 regression] constexpr decltype(auto) variable declaration bogus cv qual error

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100459 Richard Biener changed: What|Removed |Added Summary|[10/11 regression] |[10/11/12 regression]

[Bug target/100460] [11/12 Regression][modules] mingw build broken due to use of unsupported open() flags

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100460 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] mingw|[11/12 Regression][modules]

[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.2

[Bug other/100463] many errors using GTY and hash_map

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100463 --- Comment #6 from Richard Biener --- Why would you want to have a hash_map GTY(())ed at all? For PCH?!

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

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug libstdc++/100466] compilation of assignment from initialization list to std::array with non-trivial constructor of T is very slow

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100466 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog --- Comment #3 from R

[Bug target/99649] GDB has issue to show backtrace if the breakpoint is in a function with more then 8 parameters - only for target aarch64-elf ILP32

2021-05-07 Thread stanislav.simek at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99649 Stanislav Šimek changed: What|Removed |Added CC||stanislav.simek at siemens dot com --

[Bug c++/100466] compilation of assignment from initialization list to an object with array member T[N] and non-trivial constructor of T is very slow

2021-05-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100466 Xi Ruoyao changed: What|Removed |Added Component|libstdc++ |c++ Summary|compilation of assig

[Bug c++/100466] compilation of assignment from initialization list to an object with array member T[N] and non-trivial constructor of T is very slow

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

[Bug c++/77443] Empty initializer on huge object array member slow down the compilation dramatically with -O1

2021-05-07 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77443 Xi Ruoyao changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comment #

[Bug target/99649] GDB has issue to show backtrace if the breakpoint is in a function with more then 8 parameters - only for target aarch64-elf ILP32

2021-05-07 Thread stanislav.simek at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99649 --- Comment #6 from Stanislav Šimek --- So isn't it gcc problem?

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

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #3 from Richard Biener --- So the difference is that 'b' is TREE_ADDRESSABLE with -g but not without. in forwprop2 we do - # DEBUG j$40 => MEM [(int *[33] *)&*.LC0{&} + 40B] + # DEBUG j$40 => &b{&} and that makes b TREE_ADDRESS

[Bug c++/77443] Empty initializer on huge object array member slow down the compilation dramatically with -O1

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77443 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-05-07 Ever confirmed|0

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

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

[Bug c++/46691] Null pointer in template deduction

2021-05-07 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #3 fr

[Bug c++/77443] Empty initializer on huge object array member slow down the compilation dramatically with -O1

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77443 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100445 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:323b18d54b960d3ef64f60ad20838ef958334dc0 commit r12-582-g323b18d54b960d3ef64f60ad20838ef958334dc0 Author: Jakub Jelinek Date: F

[Bug testsuite/100467] New: [12 regression] g++.dg/debug/dwarf2/thunk1.C

2021-05-07 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100467 Bug ID: 100467 Summary: [12 regression] g++.dg/debug/dwarf2/thunk1.C Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tes

[Bug testsuite/100467] [12 regression] g++.dg/debug/dwarf2/thunk1.C

2021-05-07 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100467 Rainer Orth changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/100468] New: set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

2021-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468 Bug ID: 100468 Summary: set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100445 --- Comment #12 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:92f372f00936a549de2cb9764eee722bb07959ba commit r12-583-g92f372f00936a549de2cb9764eee722bb07959ba Author: Uros Bizjak Date: Fri M

[Bug sanitizer/100379] cyclades.h is removed from linux kernel header files

2021-05-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 Tamar Christina changed: What|Removed |Added Last reconfirmed||2021-05-07 Ever confirmed|0

[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

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

[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

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

[Bug target/99037] Invalid representation of vector zero in aarch64-simd.md

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99037 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:3a9504e1f03bc2980062dc62261212e8635bcf93 commit r9-9519-g3a9504e1f03bc2980062dc62261212e8635bcf93 Author: Kyrylo Tkachov D

[Bug target/100441] [8/9 Regression] ICE in output_constant_pool_2, at varasm.c:3955

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100441 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:3a9504e1f03bc2980062dc62261212e8635bcf93 commit r9-9519-g3a9504e1f03bc2980062dc62261212e8635bcf93 Author: Kyrylo Tkachov

[Bug target/99808] [8/9/10/11 Regression] ICE in as_a, at machmode.h:365

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99808 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:3a9504e1f03bc2980062dc62261212e8635bcf93 commit r9-9519-g3a9504e1f03bc2980062dc62261212e8635bcf93 Author: Kyrylo Tkachov

[Bug target/99037] Invalid representation of vector zero in aarch64-simd.md

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99037 --- Comment #8 from CVS Commits --- The releases/gcc-8 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 commit r8-10956-g64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 Author: Kyrylo Tkachov

[Bug target/100441] [8/9 Regression] ICE in output_constant_pool_2, at varasm.c:3955

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100441 --- Comment #11 from CVS Commits --- The releases/gcc-8 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 commit r8-10956-g64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 Author: Kyrylo Tkachov

[Bug target/99808] [8/9/10/11 Regression] ICE in as_a, at machmode.h:365

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99808 --- Comment #12 from CVS Commits --- The releases/gcc-8 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 commit r8-10956-g64b6b1d1bc796a7fea189a4c4b0e290540f51ae3 Author: Kyrylo Tkachov

[Bug target/100441] [8/9 Regression] ICE in output_constant_pool_2, at varasm.c:3955

2021-05-07 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100441 --- Comment #12 from ktkachov at gcc dot gnu.org --- Should be fixed on GCC 8 and 9 branches now?

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2021-05-07 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 --- Comment #14 from José Rui Faustino de Sousa --- On 28/04/21 18:49, anlauf at gcc dot gnu.org wrote: > Did you log in with your @gcc.gnu.org account? > Yes, changing the login email seems to have done the trick. Thank you very much for you

[Bug debug/100469] New: [11/12 Regression] -fcompare-debug failure (length) with -O2 -fno-tree-dse -fno-tree-forwprop -fno-tree-tail-merge --param=sccvn-max-alias-queries-per-access=0

2021-05-07 Thread zsojka at seznam dot cz via Gcc-bugs
ld=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-581-20210507001633-gcfe82a0cbe7-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210507 (experimental) (GCC)

[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

2021-05-07 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468 --- Comment #3 from rguenther at suse dot de --- On Fri, 7 May 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug debug/100469] [11/12 Regression] -fcompare-debug failure (length) with -O2 -fno-tree-dse -fno-tree-forwprop -fno-tree-tail-merge --param=sccvn-max-alias-queries-per-access=0

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100469 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-05-07 Target Milestone|---

[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468 --- Comment #4 from Jakub Jelinek --- I meant something like struct S { constexpr S () : s (0), t (0), u(0) {} constexpr S (int x, int y, int z) : s (x), t (y), u (z) {} int s, t, u; }; constexpr S bar () { return S (0, 1, 2); } bool foo (void)

[Bug c++/100468] set_up_extended_ref_temp via extend_ref_init_temps_1 drops TREE_ADDRESSABLE

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100468 --- Comment #5 from Jakub Jelinek --- Though it is static and what you're talking about is making automatic into static. So guess we would need automatic temporary with something like { 1, 2, 3 } initializer and have reference bind to that temp

[Bug libstdc++/100470] New: std::is_nothrow_move_constructible incorrect behavior for explicitly defaulted members

2021-05-07 Thread oleksandr.koval.dev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100470 Bug ID: 100470 Summary: std::is_nothrow_move_constructible incorrect behavior for explicitly defaulted members Product: gcc Version: 11.1.0 URL: https://godbolt.org/z

[Bug middle-end/100471] New: #pragma omp taskloop with

2021-05-07 Thread tom.vanderaa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 Bug ID: 100471 Summary: #pragma omp taskloop with Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/100441] [8/9 Regression] ICE in output_constant_pool_2, at varasm.c:3955

2021-05-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100441 Alex Coplan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/100304] [11/12 Regression] -fcompare-debug failure (length) with custom flags

2021-05-07 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100304 --- Comment #4 from Zdenek Sojka --- I can't reproduce this anymore on r12-581 ; but it still reproduces for me on the 11-branch.

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

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

[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 --- Comment #5 from H.J. Lu --- (In reply to Daniel Starke from comment #4) > Created attachment 50772 [details] > rdtsc.c > > Please find attached the mingw-w64 file. Please change #if !__has_builtin(__rdtsc) to #if !__has_builtin(__rdtsc)

[Bug target/100347] [11/12 Regression] GCC 11 does not recognize skylake; translates "march=native" to "x86_64"

2021-05-07 Thread schnetter at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100347 --- Comment #15 from Erik Schnetter --- When I try to rebuild GCC 10.3 or 10.2, they end up having the same problem. Also, when I enable bootstrapping, bootstrapping fails with differences in many files. Given that this used to work on a previou

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2021-05-07 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #33 from Niall Douglas --- (In reply to Andrew Pinski from comment #31) > > Again the problem is stuff like: > static const _Atomic __int128_t t = 2000; > > __int128_t g(void) > { > return t; > } > > DOES NOT WORK if you use CAS

[Bug c++/100472] New: [C++17] Wrong template non-type argument handling on function reference to noexcept functions

2021-05-07 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100472 Bug ID: 100472 Summary: [C++17] Wrong template non-type argument handling on function reference to noexcept functions Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug c++/100472] [C++17] Wrong template non-type argument handling on function reference to noexcept functions

2021-05-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100472 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/97420] [8/9/10/11/12 Regression] NTTP function reference cannot bind to noexcept function

2021-05-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97420 Patrick Palka changed: What|Removed |Added CC||frankhb1989 at gmail dot com --- Comment

[Bug c++/97420] [8/9/10/11/12 Regression] NTTP function reference cannot bind to noexcept function

2021-05-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97420 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

2021-05-07 Thread tom.vanderaa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 --- Comment #2 from Tom Vander Aa --- Thanks Jakub. Let me know when I can do something. -Wno-pedantic, Tom

[Bug c++/99686] ICE when using both concepts and full specialization

2021-05-07 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99686 --- Comment #7 from Steven Sun --- After digging for two days, I think I may know what's happening inside. Under std=c++20 and my code in comment 1, the flow when parsing a full function specialization would be 1. Found a full specialization o

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

2021-05-07 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #5 from Chengnian Sun --- I have a question. If the test program has undefined behaviors, is GCC still expected to emit the same binary code for compilation with and without debug symbols? Thanks.

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

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #6 from Jakub Jelinek --- Yes.

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

2021-05-07 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #7 from Chengnian Sun --- (In reply to Jakub Jelinek from comment #6) > Yes. Great. Thanks. We have a bunch of such test programs. I will report them shortly.

[Bug target/100347] [11/12 Regression] GCC 11 does not recognize skylake; translates "march=native" to "x86_64"

2021-05-07 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100347 --- Comment #16 from Iain Sandoe --- (In reply to Erik Schnetter from comment #15) > One thing that e.g. changed is that there is now a newer version of Apple > Clang. XCode 12.5 is broken, with compare-debug error : see PR100340 (already repo

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

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #8 from Jakub Jelinek --- gcc has the -fcompare-debug option, which compiles twice, once with -g and once with -g -gtoggle and compares result, anything that fails with that option with an error about debug vs. non-debug differences

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

2021-05-07 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #9 from Chengnian Sun --- Thanks for the tip. We will use that flag.

[Bug testsuite/100467] [12 regression] g++.dg/debug/dwarf2/thunk1.C

2021-05-07 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100467 Bernd Edlinger changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/100473] New: O2 vs optimization flags

2021-05-07 Thread stanislav.simek at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100473 Bug ID: 100473 Summary: O2 vs optimization flags Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug testsuite/100467] [12 regression] g++.dg/debug/dwarf2/thunk1.C

2021-05-07 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100467 --- Comment #2 from Bernd Edlinger --- > so it is not possible to debug those functions Aehm, i meant of course it is _now_ possible

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2021-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #34 from Jonathan Wakely --- (In reply to Niall Douglas from comment #33) > Re: your original point, I cannot say anything about _Atomic. However, for > std::atomic<__int128>, as __int128 is not an integral type it seems That depends

[Bug target/99808] [8/9/10/11 Regression] ICE in as_a, at machmode.h:365

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99808 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:c9c429cf986c885cf90259866186849de44e1e1f commit r9-9520-gc9c429cf986c885cf90259866186849de44e1e1f Author: Kyrylo Tkachov

[Bug target/99808] [8/9/10/11 Regression] ICE in as_a, at machmode.h:365

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99808 --- Comment #14 from CVS Commits --- The releases/gcc-8 branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:bcc4f85667c88f9be098f2671b01831d4b8d9f7c commit r8-10957-gbcc4f85667c88f9be098f2671b01831d4b8d9f7c Author: Kyrylo Tkachov

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 --- Comment #2 from Jonathan Wakely --- Maybe another case of PR 51577 but I haven't looked into it yet. I will say that a templated operator in the global namespace with absolutely no constraints to limit what it accepts is a very bad idea.

[Bug c++/100462] g++ fails to find a generated pre-compiled header

2021-05-07 Thread mail at 3v1n0 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462 --- Comment #3 from Marco Trevisan --- Created attachment 50775 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50775&action=edit strace.log This is crazy, as even according to strace the file isn't there... But it is and it's valid. ❯ ls

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-05-07 Ever confirmed|0

[Bug c++/99686] ICE when using both concepts and full specialization

2021-05-07 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99686 --- Comment #8 from Steven Sun --- under c++17 Step 4 needs `types_match == 1` [at 1] but, its value is zero, which is caused by `function_requirements_equivalent_p` [at 3] returns 0 [at 2] . [1] https://gcc.gnu.org/git?p=gcc.git;a=blob;f=gcc/c

[Bug c++/100462] g++ fails to find a generated pre-compiled header

2021-05-07 Thread mail at 3v1n0 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462 --- Comment #4 from Marco Trevisan --- (In reply to Marco Trevisan from comment #3) > Created attachment 50775 [details] > strace.log > > This is crazy, as even according to strace the file isn't there... > > But it is and it's valid. > ❯ ls -

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 --- Comment #4 from Jonathan Wakely --- Reduced: namespace N { template struct string_view { using char_type = C; }; template struct string { void operator+=(const string&); template void operator+=(const T&); }; template void f() {

[Bug c/100473] O2 vs optimization flags

2021-05-07 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100473 --- Comment #1 from Andreas Schwab --- $ git grep 'optimize >= 2' gcc/ChangeLog-2008: 100 for optimize >= 2. gcc/ChangeLog-2010: only conditionally on optimize >= 2. gcc/ada/gcc-interface/trans.c:&& optimize >= 2 gcc/c-family/c-o

[Bug c++/100462] g++ fails to find a generated pre-compiled header

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

[Bug target/94649] 16-byte aligned atomic_compare_exchange doesn not generate cmpxcg16b on x86_64

2021-05-07 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94649 Niall Douglas changed: What|Removed |Added CC||s_gccbugzilla at nedprod dot com --- Co

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2021-05-07 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #35 from Niall Douglas --- (In reply to Jonathan Wakely from comment #34) > > Perhaps I ought to open a separate issue here, as my specific problem is > > that std::atomic<__int128>::compare_exchange_weak() is not using cmpxchg16b? >

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-07 Thread David.Smith at lmu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #4 from David.Smith at lmu dot edu --- > Thanks for reduce this to a testcase. I don't see it attached > to this email or in bugzilla. gcc.gno.org may have stripped > the attachment (for some dumb reason). Feel free to send the >t

[Bug c++/100474] New: ICE: in diagnose_trait_expr, at cp/constraint.cc:3706

2021-05-07 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100474 Bug ID: 100474 Summary: ICE: in diagnose_trait_expr, at cp/constraint.cc:3706 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/100465] Overloading operator+= and including filesystem causes conflicting overload compilation error

2021-05-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100465 --- Comment #5 from Jonathan Wakely --- As a workaround the library could use __str.append or __str.operator+=

[Bug c/100473] O2 vs optimization flags

2021-05-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100473 Jakub Jelinek changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug c++/100462] g++ fails to find a generated pre-compiled header

2021-05-07 Thread mail at 3v1n0 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462 --- Comment #6 from Marco Trevisan --- (In reply to Jakub Jelinek from comment #5) > As documented - see > https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html - PCH is only > tried if no C token is seen before the #include directive (com

[Bug c++/100462] g++ fails to find a generated pre-compiled header

2021-05-07 Thread mail at 3v1n0 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462 --- Comment #7 from Marco Trevisan --- (In reply to Marco Trevisan from comment #6) > # Works > g++ -I _build main.c -o main -include string -include gjs_pch.h Ouch, I forgot to delete an include after pasting # Works g++ -I _build main.c -o

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2021-05-07 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 vopl at bk dot ru changed: What|Removed |Added CC||vopl at bk dot ru --- Comment #7 from

[Bug target/98218] [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 --- Comment #6 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:5795ec0edc30e077a9900cf3ca0a04ad8ac5ac97 commit r12-615-g5795ec0edc30e077a9900cf3ca0a04ad8ac5ac97 Author: Uros Bizjak Date: Fri May

[Bug c/100450] Missing ' ' space for '-E' preprocessing output, works with direct compilation

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:170c850e4bd46745e2a5130b5eb09f9fceb98416 commit r12-616-g170c850e4bd46745e2a5130b5eb09f9fceb98416 Author: Jakub Jelinek Date: Fr

[Bug libstdc++/100475] New: semiregular-box's constructor uses wrong list-initialization

2021-05-07 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100475 Bug ID: 100475 Summary: semiregular-box's constructor uses wrong list-initialization Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/79333] FRE/PRE do not allow folding to look at SSA defs during elimination

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79333 --- Comment #5 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:601191b2a48cb8f4657bb2fa2270a7fde9d52e9c commit r12-617-g601191b2a48cb8f4657bb2fa2270a7fde9d52e9c Author: Christophe Lyon Date:

[Bug c++/100476] New: coroutines: questionable handling of void get_return_object

2021-05-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100476 Bug ID: 100476 Summary: coroutines: questionable handling of void get_return_object Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal P

[Bug demangler/99935] Stack exhaustion demangling rust mangled name

2021-05-07 Thread nickc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99935 --- Comment #1 from Nick Clifton --- Created attachment 50777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50777&action=edit Proposed patch Here is a possible patch for the problem, adding a recursion limit to the demangle_path() functio

[Bug middle-end/100473] O2 vs optimization flags

2021-05-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100473 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #3 from Andrew P

[Bug target/88952] The asm operator modifiers for rs6000 should be documented like they are for x86

2021-05-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88952 Segher Boessenkool changed: What|Removed |Added Target|powerpc-*-* |powerpc* Resolution|---

[Bug c/100450] Missing ' ' space for '-E' preprocessing output, works with direct compilation

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8482ed658ca77bfd7fc119cd62afd5b70a024500 commit r11-8371-g8482ed658ca77bfd7fc119cd62afd5b70a024500 Author: Jakub Jelinek

[Bug c/100450] Missing ' ' space for '-E' preprocessing output, works with direct compilation

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d7c8e6261532e7b2d16221becd5db11ded03e059 commit r10-9810-gd7c8e6261532e7b2d16221becd5db11ded03e059 Author: Jakub Jelinek

[Bug c/100450] Missing ' ' space for '-E' preprocessing output, works with direct compilation

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ec910efa1f70e3903091b23e80c5c554b4db6c9b commit r9-9521-gec910efa1f70e3903091b23e80c5c554b4db6c9b Author: Jakub Jelinek Da

[Bug c/100450] Missing ' ' space for '-E' preprocessing output, works with direct compilation

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e2979f8687f590461bef9f87bd997390af67312e commit r8-10958-ge2979f8687f590461bef9f87bd997390af67312e Author: Jakub Jelinek D

[Bug target/100461] [11/12 Regression] mingw build broken due to change of rdtsc implementation

2021-05-07 Thread daniel.f.starke at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100461 --- Comment #6 from Daniel Starke --- Thank you for the suggestion, however, I am not involved in the mingw-w64 project. Furthermore, the fact that this regression remains against all versions of mingw-w64 known to date does not change. It is al

[Bug c++/100462] g++ fails to find a generated pre-compiled header when using `-include`

2021-05-07 Thread mail at 3v1n0 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462 --- Comment #8 from Marco Trevisan --- It's also relevant to say that just using main.c: #include "gjs_pch.h" int main(int argc, char**argv) { std::string s = "Hi"; return 0; } fails with: ❯ g++ -I _build main.c -o main -include string

[Bug libstdc++/100475] semiregular-box's constructor uses wrong list-initialization

2021-05-07 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100475 Patrick Palka changed: What|Removed |Added Last reconfirmed||2021-05-07 Assignee|unassigne

[Bug libstdc++/100475] semiregular-box's constructor uses wrong list-initialization

2021-05-07 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100475 --- Comment #2 from 康桓瑋 --- Reduced example: #include struct S { S() = default; S(int, int) {} S(std::initializer_list) = delete; }; std::ranges::single_view single(std::in_place, 0, 0); https://godbolt.org/z/d1bE8sPdd

[Bug middle-end/100477] New: Bogus -Wstringop-overflow warning on memset

2021-05-07 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 Bug ID: 100477 Summary: Bogus -Wstringop-overflow warning on memset Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: mi

[Bug target/87839] [9 Regression] ICE in final_scan_insn_1, at final.c:3070

2021-05-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87839 --- Comment #5 from CVS Commits --- The releases/gcc-8 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3488242b9a949ebc55b4a857380f94506f90ff76 commit r8-10959-g3488242b9a949ebc55b4a857380f94506f90ff76 Author: Jakub Jelinek Da

  1   2   >