[Bug c++/99961] New: requires clause rejects mentioning of function parameters too early

2021-04-07 Thread nickgray0 at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99961 Bug ID: 99961 Summary: requires clause rejects mentioning of function parameters too early Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #11 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #7) > Ah, create_log_links wants to work like that. > So, the bug seems to be that insn 108 has REG_DEAD (reg:CC 17 flags) note. > It doesn't initially, but it is

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #12 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #11) > (In reply to Jakub Jelinek from comment #7) > > Ah, create_log_links wants to work like that. > > So, the bug seems to be that insn 108 has REG_DEAD (reg:C

[Bug bootstrap/99920] [10 regression] ICE building gcc 10 on power 7 BE

2021-04-07 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920 --- Comment #11 from seurer at gcc dot gnu.org --- Swapping out those two .o files (individually and together) didn't yield a successful build. I brought in the 8.4.0 .o files in one at a time and eventually I got a successful build but at that p

[Bug tree-optimization/99873] [11 Regression] GCC no longer makes as much use of ST3

2021-04-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99873 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #13 from Segher Boessenkool --- Yes, combine just drops that clobber of flags, that was a thinko :-)

[Bug tree-optimization/90994] Bogus Wmaybe-uninitialized with fnon-call-exceptions

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90994 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/99920] [10 regression] ICE building gcc 10 on power 7 BE

2021-04-07 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99920 --- Comment #12 from Jakub Jelinek --- Usually I'm trying to do binary search in these cases, build one tree with the bad compiler, one with good one, cp -al one of the trees to a new dir, make a list of the object files, start with half/half, co

[Bug c++/92918] [8/9/10/11 Regression] Does not do name lookup when using from base class

2021-04-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92918 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a528594cf9a74e5a0fbac13ef673064ed73e1b89 commit r11-8033-ga528594cf9a74e5a0fbac13ef673064ed73e1b89 Author: Jason Merrill Date: We

[Bug c++/92918] [8/9/10 Regression] Does not do name lookup when using from base class

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92918 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/52625] [8/9/10/11 Regression] Incorrect specialization semantics of friend class template declaration

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52625 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/99961] requires clause rejects mentioning of function parameters too early

2021-04-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99961 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/92722] gcc considers "padding" byte of empty lambda to be uninitialized

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92722 Martin Sebor changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug c++/54367] [meta-bug] lambda expressions

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 92722, which changed state. Bug 92722 Summary: gcc considers "padding" byte of empty lambda to be uninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92722 What|Removed |Added --

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 92722, which changed state. Bug 92722 Summary: gcc considers "padding" byte of empty lambda to be uninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92722 What|Removed |Added --

[Bug libstdc++/99958] The seems to contain the entire and in C++20 mode

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

[Bug libgcc/99962] New: Error: unknown mnemonic `type' -- `type(_init)' for crti.s, targetting aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99962 Bug ID: 99962 Summary: Error: unknown mnemonic `type' -- `type(_init)' for crti.s, targetting aarch64 Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug libgcc/99962] Error: unknown mnemonic `type' -- `type(_init)' for crti.s, targetting aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99962 --- Comment #1 from cqwrteur --- i manually replace the macros with code and it worrks.

[Bug libstdc++/99958] The seems to contain the entire and in C++20 mode

2021-04-07 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99958 --- Comment #2 from Jonathan Wakely --- This seems to work: diff --git a/libstdc++-v3/include/pstl/glue_algorithm_defs.h b/libstdc++-v3/include/pstl/glue_algorithm_defs.h index 48bc56ae401..cef78e22e31 100644 --- a/libstdc++-v3/include/pstl/glue

[Bug c++/99963] New: [concepts] template vs concept auto reports ambiguous overload

2021-04-07 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99963 Bug ID: 99963 Summary: [concepts] template vs concept auto reports ambiguous overload Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/99964] New: android(bionic) cannot find crti.o and crtn.o

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 Bug ID: 99964 Summary: android(bionic) cannot find crti.o and crtn.o Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: l

[Bug middle-end/93181] [9/10/11 Regression] -Wuninitialized fails to warn about uninitialized value

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93181 Martin Sebor changed: What|Removed |Added Summary|-Wuninitialized fails to|[9/10/11 Regression] |w

[Bug libgcc/99964] android(bionic) cannot find crti.o and crtn.o on aarch64

2021-04-07 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #1 fr

[Bug c++/99965] New: segfault only happening with -O3

2021-04-07 Thread juanlucasrey at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 Bug ID: 99965 Summary: segfault only happening with -O3 Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug libgcc/99964] android(bionic) cannot find crti.o and crtn.o on aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 --- Comment #2 from cqwrteur --- (In reply to Jim Wilson from comment #1) > (In reply to cqwrteur from comment #0) > > bionic simply does not provide crti.o and crtn.o > > https://github.com/aosp-riscv/platform_bionic/tree/master/libc/arch-common

[Bug c++/99965] segfault only happening with -O3

2021-04-07 Thread juanlucasrey at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 --- Comment #1 from Juan Lucas Rey --- g++ --version g++ (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)

[Bug libgcc/99964] android(bionic) cannot find crti.o and crtn.o on aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 --- Comment #3 from cqwrteur --- (In reply to Jim Wilson from comment #1) > (In reply to cqwrteur from comment #0) > > bionic simply does not provide crti.o and crtn.o > > https://github.com/aosp-riscv/platform_bionic/tree/master/libc/arch-common

[Bug libgcc/99964] android(bionic) cannot find crti.o and crtn.o on aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 --- Comment #4 from cqwrteur --- (In reply to cqwrteur from comment #3) > (In reply to Jim Wilson from comment #1) > > (In reply to cqwrteur from comment #0) > > > bionic simply does not provide crti.o and crtn.o > > > https://github.com/aosp-ris

[Bug c++/99965] segfault only happening with -O3

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

[Bug c++/99965] segfault only happening with -O3

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

[Bug c++/41723] [8/9/10/11 Regression] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/99965] segfault only happening with -O3

2021-04-07 Thread juanlucasrey at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 --- Comment #4 from Juan Lucas Rey --- I get the error "cannot find -lubsan" with -fsanitize=alignment g++ bug.cpp -o bug -O2 -ftree-loop-vectorize -fvect-cost-model && ./bug this also reproduces the segfault

[Bug c++/99965] segfault only happening with -O3

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

[Bug c++/99965] segfault only happening with -O3

2021-04-07 Thread juanlucasrey at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 --- Comment #6 from Juan Lucas Rey --- I get the following with -fsanitize=alignment bug.cpp:29:21: runtime error: store to misaligned address 0x02249044 for type 'char *', which requires 8 byte alignment 0x02249044: note: pointer points

[Bug c++/99965] segfault only happening with -O3

2021-04-07 Thread juanlucasrey at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 --- Comment #7 from Juan Lucas Rey --- the thing is removing the vector m_vPointers makes it work. also this code works fine on clang.. why would it be misaligned?

[Bug tree-optimization/99536] unexplained warning on "uninitialized value" in std::normal_distribution

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Keywo

[Bug tree-optimization/99536] unexplained warning on "uninitialized value" in std::normal_distribution

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 --- Comment #7 from Martin Sebor --- The IL I posted in comment #6 was before the libstdc++ change.

[Bug c++/99965] segfault only happening with -O3

2021-04-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965 --- Comment #8 from Andrew Pinski --- (In reply to Juan Lucas Rey from comment #7) > the thing is removing the vector m_vPointers makes it work. Just by accident. > also this code works fine on clang.. why would it be misaligned? Because pBuf

[Bug target/99960] MVE: Wrong code storing V2DI vector

2021-04-07 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99960 --- Comment #1 from Alex Coplan --- Looks like both loads and stores are wrong in V2DImode: typedef long long __attribute((vector_size(16))) v2di; v2di load(v2di *p) { return *p; } void store(v2di *p, v2di v) { *p = v; } gives: load: v

[Bug c++/99806] [10/11 Regression] ICE: in tsubst_copy, at cp/pt.c:17247

2021-04-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99806 Marek Polacek changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Priority|P3

[Bug c++/52625] [8/9/10/11 Regression] Incorrect specialization semantics of friend class template declaration

2021-04-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52625 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b40d45cb1930e9aa8a1f9a6a8728fd47ebeeaaac commit r11-8034-gb40d45cb1930e9aa8a1f9a6a8728fd47ebeeaaac Author: Jason Merrill Date: We

[Bug c++/41723] [8/9/10/11 Regression] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template

2021-04-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fb5ed6d8c90a4bf8e677a3ff9bd79d83636ccff9 commit r11-8035-gfb5ed6d8c90a4bf8e677a3ff9bd79d83636ccff9 Author: Jason Merrill Date: We

[Bug c++/41723] [8/9/10 Regression] Error when using a qualified name to declare a nested template instantiation as a friend of the containing template

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723 Jason Merrill changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression] Error

[Bug c++/52625] [8/9/10 Regression] Incorrect specialization semantics of friend class template declaration

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52625 Jason Merrill changed: What|Removed |Added Known to work||11.0 Summary|[8/9/10/11 Regre

[Bug libgcc/99962] Error: unknown mnemonic `type' -- `type(_init)' for crti.s, targetting aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99962 cqwrteur changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug libgcc/99964] android(bionic) cannot find crti.o and crtn.o on aarch64

2021-04-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99964 --- Comment #5 from cqwrteur --- (In reply to Jim Wilson from comment #1) > (In reply to cqwrteur from comment #0) > > bionic simply does not provide crti.o and crtn.o > > https://github.com/aosp-riscv/platform_bionic/tree/master/libc/arch-common

[Bug tree-optimization/18501] [8/9/10/11 Regression] Missing 'used uninitialized' warning (CCP)

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Martin Sebor changed: What|Removed |Added Known to fail||10.2.0, 11.0, 4.7.0, 4.8.4,

[Bug c++/18635] [DR 504] use of uninitialised reference accepted (without -Wuninitialized) in C++ front end

2021-04-07 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #18

[Bug c++/99806] [10/11 Regression] ICE: in tsubst_copy, at cp/pt.c:17247

2021-04-07 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99806 --- Comment #3 from Marek Polacek --- A test that should be accepted: // PR c++/99806 struct S { template void f(T) noexcept(B); static constexpr bool B = true; };

[Bug tree-optimization/99966] New: Bounds check not eliminated by assert

2021-04-07 Thread jmuizelaar at mozilla dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99966 Bug ID: 99966 Summary: Bounds check not eliminated by assert Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiz

[Bug ipa/99951] Dead return value after modify_call() is not released

2021-04-07 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99951 --- Comment #2 from Feng Xue --- Can we report error in verify_ssa() when a non-default SSA's defining statement has NULL bb, which is always a case that the statement is removed somewhere?

[Bug tree-optimization/99927] [11 Regression] Wrong code since r11-39-gf9e1ea10e657af9f

2021-04-07 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927 --- Comment #14 from Segher Boessenkool --- distribute_notes says Any clobbers from i2 or i1 can only exist if they were added by recog_for_combine. which is not true apparently. But all of this code *does* depend on that, it just doesn't ma

[Bug middle-end/99857] [11 Regression] FAIL: libgomp.c/declare-variant-1.c (test for excess errors) by r11-7926

2021-04-07 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99857 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #5

[Bug c++/99910] [11 Regression] g++.dg/modules/xtreme-header-2_b.C ICE

2021-04-07 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99910 --- Comment #1 from Hans-Peter Nilsson --- It looks like commit 41019bfae2673a818 / r11-8011 "libstdc++: Clarify static_assert message" accidentally swept this under the carpet. If I cut off the last word, " type", i.e. the second changed line ch

[Bug c++/94529] [8/9/10/11 Regression] Wrong error message for template member function specialization

2021-04-07 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94529 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2021-04-07 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 luoxhu at gcc dot gnu.org changed: What|Removed |Added CC||luoxhu at gcc dot gnu.org ---

[Bug middle-end/90323] powerpc should convert equivalent sequences to vec_sel()

2021-04-07 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90323 --- Comment #9 from luoxhu at gcc dot gnu.org --- Then we could optimized it in match.pd diff --git a/gcc/match.pd b/gcc/match.pd index 036f92fa959..8944312c153 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -3711,6 +3711,17 @@ DEFINE_INT_AND_FL

<    1   2