[Bug middle-end/98099] ICE in gen_lowpart_common, at emit-rtl.c:1554

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98099 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug target/98100] ICE in expand_debug_locations, at cfgexpand.c:5610

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98100 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-12-03 CC|

[Bug tree-optimization/98107] [11 regression] ICE at hash-table.c:137 starting with r11-5663

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98107 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-12-03 Status|UNCONFIRMED

[Bug ipa/98082] [11 Regression] ICE in set_rtl, at cfgexpand.c:178 since r11-3257-g225a08220e444371

2020-12-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98082 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug tree-optimization/96075] [8 Regression] bogus alignment for negative step grouped access

2020-12-03 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96075 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug c++/98104] [11 regression] -Wplacement-new false positive (struture padding?)

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98104 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:381d1d0120e4dfab3a714f44354e868a80dbaa25 commit r11-5698-g381d1d0120e4dfab3a714f44354e868a80dbaa25 Author: Jakub Jelinek Date: Th

[Bug c++/98104] [11 regression] -Wplacement-new false positive (struture padding?)

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98104 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-03 Thread i.hamsa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #2 from i.hamsa at gmail dot com --- The standard streams are not user defined objects. They need to be initialized before any user code touches them, before `main`, before everything, no matter what. This is exactly the purpose of the

[Bug c++/98115] New: [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115 Bug ID: 98115 Summary: [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba Product:

[Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.0 Known to fail|

[Bug tree-optimization/98113] [11 Regression] popcnt is not vectorized on s390 since f5e18dd9c7da

2020-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98113 --- Comment #4 from Richard Biener --- Created attachment 49668 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49668&action=edit prototype So like this (some correctness verification is missing as well as more general matching on the def s

[Bug c++/98116] New: [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98116 Bug ID: 98116 Summary: [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/98116] [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98116 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/97865] libtool needs to be updated for Darwin20.

2020-12-03 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #26 from Jürgen Reuter --- Any news? I did not test the patch you posted in your last comment, but only the one from your git repo. Under the assumption that this is identical to the patch here, it works. So apparently libfortran and

[Bug target/97865] libtool needs to be updated for Darwin20.

2020-12-03 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865 --- Comment #27 from Iain Sandoe --- tomorrow if there are no further comments (the patch needs minor typographical changes). I'm also testing back-ports for the open branches, and will publish Darwin-specific branches at least for gcc-7.5 (and

[Bug ipa/97757] [11 Regression] fortran save_6.f90 fails with a segv for -flto -O >= 2

2020-12-03 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97757 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

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

[Bug gcov-profile/96919] [GCOV] uncovered line of stack allocation while using virutal destructor

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96919 --- Comment #11 from Martin Liška --- (In reply to Bhavana Kilambi from comment #10) > Created attachment 49664 [details] > Removes the push_back() statement The suggested patch breaks most of the tests: $ make check -k RUNTESTFLAGS="gcov.exp"

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #4 from Jakub Jelinek --- ¤t_value is passed to do_lookup_x call which does modify it in some cases, e.g. result->s = sym; result->m = (struct link_map *) map; or passes it to other function, do_lookup_unique, which can

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #5 from Jakub Jelinek --- (In reply to Martin Liška from comment #3) > Do we have a simple reproducer for the miscompiled Glibc library? All one needs to do is with glibc git trunk CC=trunk-gcc CXX=trunk-g++ ../configure --disable-sa

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #6 from Jakub Jelinek --- The crash seems to be: => 0x77fdbe20 <_dl_lookup_symbol_x+0>: push %r15 0x77fdbe22 <_dl_lookup_symbol_x+2>: push %r14 0x77fdbe24 <_dl_lookup_symbol_x+4>: push %r13 0x

[Bug tree-optimization/95694] [9/10 Regression] ICE in trunc_int_for_mode, at explow.c:59 since r9-7156-g33579b59aaf02eb7

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95694 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:00bcb8380bf755c60d5ad605a21818f6d3ed9912 commit r10-9114-g00bcb8380bf755c60d5ad605a21818f6d3ed9912 Author: Richard Sand

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #7 from Martin Liška --- Hm, adding -fno-ipa-sra does not help while -O1 does in order to remove the miscompilation.

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #8 from Florian Weimer --- (In reply to Jakub Jelinek from comment #6) > on the mov %fs:0x10,%rax perhaps %fs isn't initialized yet? Yes, that's why the access is guarded by flags & DL_LOOKUP_GSCOPE_LOCK. During initial relocation, _

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #9 from Florian Weimer --- And we should not end up in the add_dependency part, either because l_type won't be lt_loaded and the DL_LOOKUP_ADD_DEPENDENCY flag hasn't been set, either. The inline asm is marked as volatile, and that sh

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #10 from Jakub Jelinek --- Looking at *.optimized dump, mov %%fs:%c1,%0 appears in there only bb 64, guarded by flags_90(D) & 4 check, so exactly the check that appears in the source code - flags & DL_LOOKUP_GSCOPE_LOCK (among various

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #11 from Jakub Jelinek --- Ah, RTL loop_invariant. Perhaps because the inline asm is buggy? asm ("mov %%fs:%c1,%0" : "=r" (__self) : "i" (__builtin_offsetof (struct pthread, header.self))); The only input of the asm is the constant,

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #12 from Florian Weimer --- (In reply to Jakub Jelinek from comment #11) > Ah, RTL loop_invariant. Perhaps because the inline asm is buggy? > asm ("mov %%fs:%c1,%0" : "=r" (__self) : "i" (__builtin_offsetof (struct > pthread, header.

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2020-12-03 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #3 from m.cencora at gmail dot com --- Still broken in gcc 10.2 and trunk, also in C++20 mode. The problem seems to show up only when address of member function (virtual or not) is passed as template parameter - only then gcc fails du

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #13 from Jakub Jelinek --- And no, the asm isn't marked volatile, that would have prevented it too: # define THREAD_SELF \ ({ struct pthread *__self; \ asm ("mov %%fs:%c1,%0" : "

[Bug c++/93259] Unsized temporary array initialization problem

2020-12-03 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93259 --- Comment #3 from m.cencora at gmail dot com --- Still fails on gcc 10.2 and trunk, in all std C++11-20 modes

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #14 from Jakub Jelinek --- I guess with GCC 6 and later one can use: void foo (int *p) { for (int i = 0; i < 64; i++) { if (p[i]) { int *q; //asm ("mov %%fs:%c1,%0" : "=r" (q) : "i" (16));

[Bug tree-optimization/98113] [11 Regression] popcnt is not vectorized on s390 since f5e18dd9c7da

2020-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98113 Richard Biener changed: What|Removed |Added Attachment #49668|0 |1 is obsolete|

[Bug c++/93740] Template base classes parametrized by pointer-to-member are amibiguous

2020-12-03 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93740 --- Comment #4 from m.cencora at gmail dot com --- I have done some more experiments, and it seems the problem applies to all pointer-to-member (not just pointer to member function, but also for pointer to data member). Also it doesn't matter if

[Bug tree-optimization/96075] [8 Regression] bogus alignment for negative step grouped access

2020-12-03 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96075 --- Comment #14 from rguenther at suse dot de --- On Thu, 3 Dec 2020, clyon at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96075 > > Christophe Lyon changed: > >What|Removed |Added

[Bug c++/97942] [C++20][P0692R1] Access checking not waived for declarations of explicit specializations of function and variable templates

2020-12-03 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97942 --- Comment #1 from David Friberg --- Somewhat related, we may note that GCC accepts-valid the following program, say (D): class A { class B {}; }; template struct S {}; template struct S {}; template struct S {}; int main() {} which is vali

[Bug tree-optimization/97770] [ICELAKE]Missing vectorization for vpopcnt

2020-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97770 Richard Biener changed: What|Removed |Added Component|target |tree-optimization --- Comment #14 from

[Bug c++/69348] alias declarations can not be used inside qualifiers of declarators

2020-12-03 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69348 David Friberg changed: What|Removed |Added CC||davveston at gmail dot com --- Comment #

[Bug tree-optimization/98117] New: wrong code with "-O3 -fno-tree-scev-cprop"

2020-12-03 Thread suochenyao at 163 dot com via Gcc-bugs
("%d\n", c); } *** gcc version: $ gcc --version gcc (GCC) 11.0.0 20201203 (experimental) Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO wa

[Bug tree-optimization/98117] [8/9/10/11 Regression] wrong code with "-O3 -fno-tree-scev-cprop" since r8-1163-g7078979b291419f3

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98117 Martin Liška changed: What|Removed |Added CC||amker at gcc dot gnu.org,

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #15 from Richard Biener --- (In reply to Jakub Jelinek from comment #13) > And no, the asm isn't marked volatile, that would have prevented it too: > # define THREAD_SELF \ > ({ struct pthread *__self;

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #16 from Jakub Jelinek --- In the glibc bugzilla or on private IRC I've suggested either: diff --git a/sysdeps/x86_64/nptl/tls.h b/sysdeps/x86_64/nptl/tls.h index a08bf972de..ccb5f24d92 100644 --- a/sysdeps/x86_64/nptl/tls.h +++ b/sys

[Bug fortran/91442] Wrong "may be used uninitialized" warning with allocation on assignment

2020-12-03 Thread paul.luckner--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91442 paul.luck...@rwth-aachen.de changed: What|Removed |Added CC||paul.luck...@rwth-aachen.de

[Bug c++/98118] New: [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 Bug ID: 98118 Summary: [coroutines] ICE with coroutine with parameter with non-trivial destructor Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: nor

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #1 from xzlsmc --- Created attachment 49671 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49671&action=edit ii file

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor

2020-12-03 Thread xzlsmc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #2 from xzlsmc --- Created attachment 49672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49672&action=edit compiler output

[Bug target/98112] Add -fdirect-access-external-data & drop HAVE_LD_PIE_COPYRELOC

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 H.J. Lu changed: What|Removed |Added CC||thiago at kde dot org See Also|

[Bug target/98119] New: SVE: Wrong code with -O1 -ftree-vectorize -msve-vector-bits=512 -mtune=thunderx

2020-12-03 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98119 Bug ID: 98119 Summary: SVE: Wrong code with -O1 -ftree-vectorize -msve-vector-bits=512 -mtune=thunderx Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug target/98018] Option to force frame pointer

2020-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 --- Comment #17 from Florian Weimer --- Jakub's glibc test failures were due to --prefix=/usr/local, so that glibc wouldn't find the installed system libgcc_s in /usr/lib64.

[Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba

2020-12-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/98117] [8/9/10/11 Regression] wrong code with "-O3 -fno-tree-scev-cprop" since r8-1163-g7078979b291419f3

2020-12-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98117 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ke

[Bug c++/98116] [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba

2020-12-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98116 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org

[Bug c++/98120] New: Multiple definitions (single TU) of explicit specialization of member enumeration of a class template

2020-12-03 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98120 Bug ID: 98120 Summary: Multiple definitions (single TU) of explicit specialization of member enumeration of a class template Product: gcc Version: 10.1.0

[Bug target/98119] SVE: Wrong code with -O1 -ftree-vectorize -msve-vector-bits=512 -mtune=thunderx

2020-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98119 rsandifo at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-12-03 Sta

[Bug c++/98105] constexpr and unnamed namespace yields relocation R_X86_64_PC32 against undefined symbol ... can not be used when making a shared object; recompile with -fPIC

2020-12-03 Thread peter_foelsche at mentor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98105 --- Comment #2 from Peter Foelsche --- sorry -- adding a definition outside of class for the variable solves the problem!

[Bug c++/98118] [10/11 Regression][coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-12-03 Target Milestone|---

[Bug target/98100] ICE in expand_debug_locations, at cfgexpand.c:5610

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98100 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug target/98100] ICE in expand_debug_locations, at cfgexpand.c:5610

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98100 --- Comment #4 from Jakub Jelinek --- Ah, that is because we don't really copy the decl during cloning, because it isn't really used in the code.

[Bug fortran/98016] Host association problem

2020-12-03 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 --- Comment #8 from Paul Thomas --- (In reply to Ev Drikos from comment #7) > Created attachment 49659 [details] > attachment for pr98016-07 > > (In reply to Paul Thomas from comment #6) > > Created attachment 49645 [details] > > Fix for the PR

[Bug target/98100] ICE in expand_debug_locations, at cfgexpand.c:5610

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98100 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/98121] New: __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 Bug ID: 98121 Summary: __attribute__ ((used)) should not imply SHF_RETAIN_SECTION Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/96075] [8 Regression] bogus alignment for negative step grouped access

2020-12-03 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96075 --- Comment #15 from Christophe Lyon --- Yes, the test fails on gcc-10 too. I tried adding xfail vect_load_lanes in gcc-9, and it correctly makes the test XFAIL.

[Bug tree-optimization/98110] [11 Regression] dl-lookup.c in glibc is miscompiled by r11-5029

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110 Florian Weimer changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/98122] New: [regression] Accessing union member through pointer-to-member is not a constant expression

2020-12-03 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98122 Bug ID: 98122 Summary: [regression] Accessing union member through pointer-to-member is not a constant expression Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug tree-optimization/98113] [11 Regression] popcnt is not vectorized on s390 since f5e18dd9c7da

2020-12-03 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98113 --- Comment #6 from Ilya Leoshkevich --- With the patch, vxe/popcount-1.c works on s390 again: vpopctf: .LFB2: .cfi_startproc vpopctf %v24,%v24 br %r14 Thanks!

[Bug tree-optimization/98123] New: if-to-switch tests fail on arm

2020-12-03 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98123 Bug ID: 98123 Summary: if-to-switch tests fail on arm Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug target/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread jozefl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 jozefl at gcc dot gnu.org changed: What|Removed |Added CC||jozefl at gcc dot gnu.org ---

[Bug libstdc++/93121] std::bit_cast missing

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93121 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:896048cf43d5eb21ab7c16553bb9d13b0f890b81 commit r11-5704-g896048cf43d5eb21ab7c16553bb9d13b0f890b81 Author: Jakub Jelinek Date: Th

[Bug target/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #2 from H.J. Lu --- The issue here is that what should happen when definitions marked with used attribute and unmarked definitions are put in the same section. It has nothing to do with .retain.

[Bug middle-end/97078] [11 Regression] ICE in set_rtl building glibc tests with -ffloat-store

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97078 --- Comment #5 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5d103763b9bc6a998dd4a453861663b229d7a24a commit r11-5705-g5d103763b9bc6a998dd4a453861663b229d7a24a Author: Eric Botcazou Date: Th

[Bug middle-end/98082] [11 Regression] ICE in set_rtl, at cfgexpand.c:178 since r11-3257-g225a08220e444371

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98082 --- Comment #8 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5d103763b9bc6a998dd4a453861663b229d7a24a commit r11-5705-g5d103763b9bc6a998dd4a453861663b229d7a24a Author: Eric Botcazou Date: Th

[Bug middle-end/98099] ICE in gen_lowpart_common, at emit-rtl.c:1554

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98099 --- Comment #4 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:277ff3406d533990e98cf1c2075b9dc9db6fa48a commit r11-5706-g277ff3406d533990e98cf1c2075b9dc9db6fa48a Author: Eric Botcazou Date: Th

[Bug middle-end/98082] [11 Regression] ICE in set_rtl, at cfgexpand.c:178 since r11-3257-g225a08220e444371

2020-12-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98082 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/98099] ICE in gen_lowpart_common, at emit-rtl.c:1554

2020-12-03 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98099 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 H.J. Lu changed: What|Removed |Added Last reconfirmed||2020-12-03 Component|target

[Bug tree-optimization/98123] if-to-switch tests fail on arm

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98123 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/98123] if-to-switch tests fail on arm

2020-12-03 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98123 Martin Liška changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Martin Liška

[Bug target/98124] New: Z: Load and test LTDBR instruction gets not used for comparison against 0.0

2020-12-03 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98124 Bug ID: 98124 Summary: Z: Load and test LTDBR instruction gets not used for comparison against 0.0 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/98107] [11 regression] ICE at hash-table.c:137 starting with r11-5663

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98107 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:62fb1b9e0da44a15b0434def20724f989d61e27b commit r11-5708-g62fb1b9e0da44a15b0434def20724f989d61e27b Author: Nathan Sidwell Date:

[Bug tree-optimization/98107] [11 regression] ICE at hash-table.c:137 starting with r11-5663

2020-12-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98107 Nathan Sidwell changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/98125] New: New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 Bug ID: 98125 Summary: New test case g++.dg/pr93195a.C in r11-5656 has excess errors Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal P

[Bug testsuite/98125] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c++/96299] Defaulted operator <=> implicitly deleted when a member has operator < and operator == and return type is specified

2020-12-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96299 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread jozefl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #4 from Jozef Lawrynowicz --- (In reply to H.J. Lu from comment #2) > The issue here is that what should happen when definitions marked with used > attribute and unmarked definitions are put in the same section. It has > nothing > to

[Bug c++/98116] [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98116 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:7254a78cf4c419a9b9361289d8c535130cf1dfd0 commit r11-5712-g7254a78cf4c419a9b9361289d8c535130cf1dfd0 Author: Nathan Sidwell Date:

[Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:7254a78cf4c419a9b9361289d8c535130cf1dfd0 commit r11-5712-g7254a78cf4c419a9b9361289d8c535130cf1dfd0 Author: Nathan Sidwell Date:

[Bug c++/98116] [11 Regression] ICE in strip_typedefs, at cp/tree.c:1744 since r11-5663-g329ae1d7751346ba

2020-12-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98116 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/98115] [11 Regression] error: partial specialization ‘class Stringify’ is not more specialized than [-fpermissive] since r11-5663-g329ae1d7751346ba

2020-12-03 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98115 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #5 from H.J. Lu --- [hjl@gnu-cfl-2 tmp]$ cat x.c struct dtv_slotinfo_list { struct dtv_slotinfo_list *next; }; extern struct dtv_slotinfo_list *list; static int __attribute__ ((section ("__libc_freeres_fn"))) free_slotinfo (struct

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #6 from Florian Weimer --- (In reply to Jozef Lawrynowicz from comment #4) > GAS merges the "R" flag state in .section declarations, silently, and with > logical OR, and GCC should do the same. So if you have: > > int __attribute__((

[Bug testsuite/98125] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #2 from seurer at gcc dot gnu.org --- #define HAVE_GAS_SECTION_LINK_ORDER 1

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread jozefl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #7 from Jozef Lawrynowicz --- (In reply to Florian Weimer from comment #6) > (In reply to Jozef Lawrynowicz from comment #4) > > GAS merges the "R" flag state in .section declarations, silently, and with > > logical OR, and GCC should

[Bug other/98121] __attribute__ ((used)) should not imply SHF_RETAIN_SECTION

2020-12-03 Thread jozefl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98121 --- Comment #8 from Jozef Lawrynowicz --- (In reply to Jozef Lawrynowicz from comment #7) > (In reply to Florian Weimer from comment #6) > > (In reply to Jozef Lawrynowicz from comment #4) > > > GAS merges the "R" flag state in .section declarati

[Bug c++/98126] New: -Wsequence-point is non-linear for certain cases

2020-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98126 Bug ID: 98126 Summary: -Wsequence-point is non-linear for certain cases Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/98112] Add -fdirect-access-external-data & drop HAVE_LD_PIE_COPYRELOC

2020-12-03 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112 --- Comment #2 from Fangrui Song --- Note: -fdirect-access-external-data is architecture-independent. For example, currently Clang on aarch64 can perform the following optimization: // clang -target aarch64 -fPIE -O3 adrpx8, :got:var ldr

[Bug c++/98122] [10/11 Regression] Accessing union member through pointer-to-member is not a constant expression

2020-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98122 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/98122] [10/11 Regression] Accessing union member through pointer-to-member is not a constant expression

2020-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98122 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug testsuite/98125] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #3 from H.J. Lu --- (In reply to seurer from comment #2) > #define HAVE_GAS_SECTION_LINK_ORDER 1 Please show the command line options passed to ld, pass --dependency-file=FILE to ld to list all linker input files and upload all linke

  1   2   >