[Bug analyzer/101721] New: [12 Regression] ICE in DECL_FUNCTION_CODE, at tree.h:4006

2021-08-02 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101721 Bug ID: 101721 Summary: [12 Regression] ICE in DECL_FUNCTION_CODE, at tree.h:4006 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/101698] [9/10/11/12 Regression] Template type conversion operator from base class preferred over matching overload

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #2 from Jonathan Wakely --- The overriding behaviour changed with r255605, it's just that the assertion caused an ICE until it was removed.

[Bug c++/101720] compile time hog with -g -O2

2021-08-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101720 --- Comment #3 from David Binderman --- Created attachment 51240 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51240=edit gzipped C source code

[Bug c++/101720] compile time hog with -g -O2

2021-08-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101720 --- Comment #2 from David Binderman --- I have another C test case which seems to take a long time when -g is switched on: $ time /home/dcb/gcc/results.20210731.release/bin/gcc -c -O2 bug742.c real1m45.778s user1m40.487s sys

[Bug c++/101698] [9/10/11/12 Regression] Template type conversion operator from base class preferred over matching overload

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 Jonathan Wakely changed: What|Removed |Added Known to fail||10.3.0, 11.2.0, 12.0,

[Bug c++/101720] compile time hog with -g -O2

2021-08-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101720 --- Comment #1 from David Binderman --- Strangely, changing the -O2 to -O3 and dropping the -g changes the time to 3 minutes 49 seconds, so -g looks to be the culprit. The source code is 5.9 Megs, the gcc build is a release build and the test

[Bug c++/96464] GCC accepts 'auto' in template argument

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96464 --- Comment #2 from Jonathan Wakely --- A simpler example: template struct S; void foo(S);

[Bug c++/96464] GCC accepts 'auto' in template argument

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96464 Jonathan Wakely changed: What|Removed |Added CC||fchelnokov at gmail dot com ---

[Bug c++/101498] gcc accepts template code with 'auto' as subtype

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101498 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Jonathan Wakely changed: What|Removed |Added CC||fchelnokov at gmail dot com ---

[Bug c++/101719] "Already defined" error in case of function specialization with concept

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101719 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85790] c++17 - Access control issue with template argument deduction

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85790 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/99969] g++ incorrectly thinks a private destructor is available

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99969 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0

[Bug c++/99969] g++ incorrectly thinks a private destructor is available

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99969 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/101720] New: compile time hog with -g -O2

2021-08-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101720 Bug ID: 101720 Summary: compile time hog with -g -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/85790] c++17 - Access control issue with template argument deduction

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85790 --- Comment #3 from Jonathan Wakely --- Fixed by r12-926 c++: implicit deduction guides, protected access Jonathan raised this issue with CWG, and there seems to be general agreement that a deduction guide generated from a

[Bug c++/101719] New: "Already defined" error in case of function specialization with concept

2021-08-02 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101719 Bug ID: 101719 Summary: "Already defined" error in case of function specialization with concept Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug c++/24847] Instantiates un-called copy constructor

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847 --- Comment #6 from Jonathan Wakely --- (In reply to Ivan Godard from comment #0) > The second constructor is intended to catch the case: "foo(foo 0, A>", i.e. to convert an instance of foo with second argument zero to a > foo with any other

[Bug c++/24847] Instantiates un-called copy constructor

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847 --- Comment #5 from Jonathan Wakely --- Overload resolution considers both constructors, to decide which one v(i) should use. Performing overload resolution on foo::foo(foo) will cause the instantiation of struct foo to see if there is a valid

[Bug c++/67491] [meta-bug] concepts issues

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 82467, which changed state. Bug 82467 Summary: name mangling error when using constrained and specialized template functions https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82467 What|Removed

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Jonathan Wakely changed: What|Removed |Added CC||saphirahemp at yahoo dot de ---

[Bug c++/82467] name mangling error when using constrained and specialized template functions

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82467 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/101704] "Already defined" error in case of many concept conversion operators

2021-08-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101704 --- Comment #3 from Jonathan Wakely --- Clang and ICC both mangle it the same way, but they only emit one definition of it. I have no idea what the correct assembly is meant to be for this.

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types caused by r12-1824

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.3 Priority|P3

[Bug tree-optimization/101705] Missed optimization opportunity when copying lots of bitfields

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101705 Richard Biener changed: What|Removed |Added Blocks||53947 --- Comment #4 from Richard

[Bug c++/101704] "Already defined" error in case of many concept conversion operators

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101704 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #2 from

[Bug c/101702] [12 Regression] ICE: in handle_argspec_attribute, at c-family/c-attribs.c:3623

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug c++/101698] [9/10/11/12 Regression] Template type conversion operator from base class preferred over matching overload

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug target/101696] Function multiversioning not usable with new x86-64-v*

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

[Bug target/101693] Terrible SIMD register allocation with a tight loop operating on 8 registers.

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

[Bug rtl-optimization/101693] Terrible SIMD register allocation with a tight loop operating on 8 registers.

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101693 --- Comment #2 from Richard Biener --- Created attachment 51238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51238=edit your testcase Attached the testcase for reference. The odd thing is there's nothing apperantly wrong with what we

[Bug tree-optimization/101708] Suboptimal codegen when clearing struct fields

2021-08-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101708 Richard Biener changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug c++/61245] #pragma GCC ivdep is handled incorrectly inside templates

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

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

2021-08-02 Thread mhjacobson at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101718 Bug ID: 101718 Summary: Objective-C frontend emits wrong code to call methods returning _Complex types returned in memory Product: gcc Version: 10.2.0 Status:

<    1   2   3