[Bug c++/98752] wrong "error: ‘this’ is not a constant expression" with consteval constructor

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98752 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-01-19 00:00:00 |2021-12-8 --- Comment #5 from Andrew Pin

[Bug c++/32066] member/type lookup doesn't work properly with templates

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32066 Andrew Pinski changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/58590] Hidden typename not ill-formed

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

[Bug c++/91023] Unification Fails for parameter pack

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91023 --- Comment #3 from Andrew Pinski --- The trunk we get the following ICE: : In substitution of 'template std::optional > parse_variant(const Foo >& ...) [with T = ]': :34:34: required from here :34:34: internal compiler error: tree check: expec

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Andrew Pinski changed: What|Removed |Added CC||l2m at ukr dot net --- Comment #24 from

[Bug c++/91499] Compile error when trying to aggregate-initialize a member array of non-movable objects with user-defined destructor

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

[Bug c++/67259] list-initialization of a reference fails to initialize char array from string literal

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67259 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from Andr

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #20 from Hongtao.liu --- V2HF/V4HF should also be restricted under AVX512FP16.

[Bug c++/98614] Copy ctor/assign cannot be defaulted in specialization by concept

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98614 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-09 Ever confirmed|0

[Bug c++/86646] Special member function 'cannot be defaulted' if type alias is used

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86646 --- Comment #3 from Andrew Pinski --- MSVC also rejects it for the same reason as GCC (and ICC). Which makes clang the one which is different than all others.

[Bug target/103622] New: ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin)

2021-12-08 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103622 Bug ID: 103622 Summary: ICE: Segmentation fault (in altivec_resolve_new_overloaded_builtin) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: error-reco

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #19 from Hongtao.liu --- (In reply to Hongtao.liu from comment #17) > (In reply to Hongtao.liu from comment #16) > > There're already testcases for vec_extract/vec_set/vec_duplicate, but those > > testcases are written under TARGET_A

[Bug c++/79504] Overload resolution in trailing-return-type ignores reference qualifier and leads to recursive template instantiation.

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

[Bug c++/69731] Inconsistent SFINAE in interaction with variable templates

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

[Bug c++/95564] GCC rejects lambda expression with "noexcept(1+1)"

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

[Bug c++/91760] Trailing return type breaks final specifier

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

[Bug c++/87174] virt-specifier not recognized on function declared like a variable

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87174 --- Comment #1 from Andrew Pinski --- Interesting ICC also rejects it too.

[Bug c++/84866] Incorrectly instantiating move ctor when a union's move constructor is implicitly deleted

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

[Bug c++/84866] Incorrectly instantiating move ctor when a union's move constructor is implicitly deleted

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84866 --- Comment #1 from Andrew Pinski --- #include #include // X has trivial copy ctor and nontrivial move ctor struct X { X() = default; X(const X&)=default; X(X&&) {} }; // X needs to be nested to trigger the bug union T1 { X x

[Bug c++/79329] bogus operator delete access check during instantiation of new-expression

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79329 Andrew Pinski changed: What|Removed |Added CC||tyker at outlook dot com --- Comment #1

[Bug c++/86949] gcc generate an error because delete operator is private when it isn't needed

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

[Bug c++/81547] Surrogate call function results in call to other conversion operator

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

[Bug c++/60323] incorrect usage of designated initializers with struct which includes flexible array

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60323 --- Comment #2 from Andrew Pinski --- Obviously this works: struct A a = {.c = 1, .data = {1}};

[Bug c++/34810] [DR1310] accepts invalid dependent type in template class method

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Commen

[Bug c++/86818] injected-class-name interpreted as type instead of constructor

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

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #18 from Hongtao.liu --- codegen for foo1/foo2 is suboptimal under -mavx2, i guess we can have vec_setv16hf_0 and with vpblendw. typedef _Float16 __v16hf __attribute__ ((__vector_size__ (32))); typedef _Float16 __m256h __attribute__

[Bug c++/80417] GCC does not accept a well-formed code of using declaration with pack expansion results inheriting constructor

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80417 Andrew Pinski changed: What|Removed |Added CC||tilin97 at yandex dot ru --- Comment #3

[Bug c++/94310] using constructor inheritance breaks the code

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

[Bug c++/80417] GCC does not accept a well-formed code of using declaration with pack expansion results inheriting constructor

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

[Bug c++/99399] why does not a pack expansion that is a using-delcaration which intends to introduce the base classes's constructor accept by GCC

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

[Bug c++/80417] GCC does not accept a well-formed code of using declaration with pack expansion results inheriting constructor

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

[Bug target/100518] [12 Regression] ICE in copy_to_mode_reg with aarch64 ILP32 and memset with -mstrict-align -O2 since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100518 --- Comment #4 from Alexandre Oliva --- Created attachment 51955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51955&action=edit candidate patch under testing

[Bug middle-end/100843] [12 Regression] ICE with -O1: in try_store_by_multiple_pieces, at builtins.c:6739 since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100843 --- Comment #4 from Alexandre Oliva --- Created attachment 51954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51954&action=edit candidate patch under testing

[Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70832 --- Comment #4 from Andrew Pinski --- >clang++ 3.7 works clang 4.0 and above rejects both tests now with the same message as GCC. Are we sure this was not a clang bug which was fixed? Also ICC and MSVC rejects the code for the same reason too.

[Bug c++/65221] typedef-name identifier not resolved in static member instantiation

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

[Bug c++/69481] ICE with C++11 alias using with templates

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

[Bug c++/102033] template function signature incorrectly drops top-level cv-qualifiers causing template specialization failing to match

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

[Bug c++/65221] typedef-name identifier not resolved in static member instantiation

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65221 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Even doing this: > template< typename A > > struct X > { > using this_type = X; > // typedef X this_type; > static this_type inst; > }; > > template< typena

[Bug c++/68161] Inconsistent behaviour of unnamed field with inheritance.

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

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #17 from Hongtao.liu --- (In reply to Hongtao.liu from comment #16) > There're already testcases for vec_extract/vec_set/vec_duplicate, but those > testcases are written under TARGET_AVX512FP16, i'll make a copy of them and > test th

[Bug target/103554] -mavx generates worse code on scalar code

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554 --- Comment #12 from Hongtao.liu --- (In reply to rguent...@suse.de from comment #11) > On Tue, 7 Dec 2021, crazylht at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554 > > > > --- Comment #10 from Hongtao.liu --

[Bug c++/64989] constant-initialization of self-referencing array

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64989 Andrew Pinski changed: What|Removed |Added CC||vincent.hamp at higaski dot at --- Comme

[Bug c++/99059] Static inline variable can't refer to itself

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

[Bug c++/99059] Static inline variable can't refer to itself

2021-12-08 Thread adrianh.bsc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99059 Jack Adrian Zappa changed: What|Removed |Added CC||adrianh.bsc at gmail dot com --- Com

[Bug tree-optimization/103024] ICE in execute, at gimple-harden-conditionals.cc:424 with -fnon-call-exceptions -fharden-compares -fsignaling-nans

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103024 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/103530] ICE: in execute, at gimple-harden-conditionals.cc:397 with -O -fharden-compares

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103530 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/103097] ICE in move_for_stack_reg, at reg-stack.c:1186

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103097 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/103302] wrong code with -fharden-compares

2021-12-08 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 Alexandre Oliva changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/103560] [12 Regression] Error: GFC_INTEGER_4 should be available for the library to compile

2021-12-08 Thread brocolis at eml dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103560 --- Comment #6 from brocolis at eml dot cc --- (In reply to Andrew Pinski from comment #4) > > f951.exe: Error: Nonexistent include directory './' > > Hmm, that seems wrong. the directory ./ definitely exists as it is the > current working direc

[Bug target/103097] ICE in move_for_stack_reg, at reg-stack.c:1186

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103097 --- Comment #2 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:af93386ffc18ca6c7d1949751ff97cc6ce092b2c commit r12-5853-gaf93386ffc18ca6c7d1949751ff97cc6ce092b2c Author: Alexandre Oliva Date:

[Bug target/103302] wrong code with -fharden-compares

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 --- Comment #12 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:50e8b0c9bca6cdc57804f860ec5311b641753fbb commit r12-5852-g50e8b0c9bca6cdc57804f860ec5311b641753fbb Author: Alexandre Oliva Date

[Bug middle-end/103530] ICE: in execute, at gimple-harden-conditionals.cc:397 with -O -fharden-compares

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103530 --- Comment #4 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:2bff91f3b4e6f697823a261222186f4b5b052e86 commit r12-5851-g2bff91f3b4e6f697823a261222186f4b5b052e86 Author: Alexandre Oliva Date:

[Bug tree-optimization/103024] ICE in execute, at gimple-harden-conditionals.cc:424 with -fnon-call-exceptions -fharden-compares -fsignaling-nans

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103024 --- Comment #3 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:2bff91f3b4e6f697823a261222186f4b5b052e86 commit r12-5851-g2bff91f3b4e6f697823a261222186f4b5b052e86 Author: Alexandre Oliva Date:

[Bug d/102765] [11 Regression] GDC11 stopped inlining library functions and lambdas used by a binary search one-liner code

2021-12-08 Thread siarhei.siamashka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765 --- Comment #3 from Siarhei Siamashka --- Thanks for the explanations. Is there a small example, which demonstrates templates inlining causing a real practical problem for older versions of GDC? A link to a bugtracker, commit message, post in a

[Bug c++/32066] member/type lookup doesn't work properly with templates

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32066 Andrew Pinski changed: What|Removed |Added CC||schaub.johannes@googlemail.

[Bug c++/48920] typename specifier should not ignore non-type names

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

[Bug c++/78048] noexcept operator accepts overload set when it should not

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78048 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug c++/86602] Overloaded function name incorrectly accepted as operand of noexcept

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

[Bug c++/78048] noexcept operator accepts overload set when it should not

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78048 Andrew Pinski changed: What|Removed |Added Summary|noexcept operator does not |noexcept operator accepts

[Bug target/100736] ICE: unrecognizable insn

2021-12-08 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100736 --- Comment #4 from HaoChen Gui --- Yes, there is a question. With my patch, the test case generates following assembly. Seems they have the same latency (cror vs. crnot). I wonder why we need reverse the CR bit comparison when finite-math-only

[Bug c++/94944] compile error accessing member function of dependent base class template in noexcept specification

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94944 Andrew Pinski changed: What|Removed |Added Summary|compile error accessing |compile error accessing

[Bug target/100000] non-leaf epologue/prologue used if MVE v4sf is used for load/return

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

[Bug libstdc++/96416] [DR 3545] to_address() is broken by static_assert in pointer_traits

2021-12-08 Thread whatwasthataddress at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 --- Comment #24 from Zach Laine --- Sorry for the delay. I confirmed that this makes my case well-formed with releases/gcc-11, and that it's ill-formed with GCC 11.2 and GCC 10.x.

[Bug c++/69373] GCC emits incorrect warning that "exception of type ‘void (*)()’ will be caught by earlier handler for 'void*'"

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69373 --- Comment #3 from Andrew Pinski --- I think the following patch fixes the warning: apinski@xeond:~/src/upstream-gcc/gcc/gcc/cp$ git diff except.c diff --git a/gcc/cp/except.c b/gcc/cp/except.c index a8acbc4b7b2..28d7810e182 100644 --- a/gcc/cp/

[Bug c++/86583] [DR 1854] exception specification of explicitly defaulted destructor does not match the calculated one

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86583 --- Comment #2 from Andrew Pinski --- clang 9 and above started to accept the code. I have not looked into why they changed it yet though.

[Bug c++/71825] incorrectly rejects valid C++ code with a template class inside a namespace

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71825 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid |accepts-invalid, diagnostic --- Comment

[Bug c++/49729] diagnostic cascade

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49729 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > GCC 4.9.0 and above removes the last diagnostics but the secone remains so > it is better but not fully fixed. s/secone/second/ typo fingers.

[Bug c++/49729] diagnostic cascade

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49729 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2011-07-13 09:34:44 |2021-12-8 --- Comment #2 from Andrew Pin

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #16 from Hongtao.liu --- There're already testcases for vec_extract/vec_set/vec_duplicate, but those testcases are written under TARGET_AVX512FP16, i'll make a copy of them and test them w/o avx512fp16.

[Bug target/103571] ABI: V2HF, V4HF and V8HFmode argument passing issues

2021-12-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103571 --- Comment #15 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #12) > (In reply to Hongtao.liu from comment #10) > > > Sure. > Please find attached the complete patch that enables HF vector modes in > Comment #11. The patch survives

[Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0fb57034770aa20adced4d176f34ca611c2945bf commit r12-5849-g0fb57034770aa20adced4d176f34ca611c2945bf Author: Iain Buclaw Date: Sun D

[Bug tree-optimization/103332] [12 Regression] Spurious -Wstringop-overflow on string concatenation in libstdc++ tests

2021-12-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/103621] New: stable_sort could call std::__merge_sort_with_buffer directly in typical case

2021-12-08 Thread riad93 at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103621 Bug ID: 103621 Summary: stable_sort could call std::__merge_sort_with_buffer directly in typical case Product: gcc Version: unknown Status: UNCONFIRMED Severit

[Bug tree-optimization/96658] Unhelpful -Wstrict-overflow warning from std::push_heap

2021-12-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96658 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/100736] ICE: unrecognizable insn

2021-12-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100736 --- Comment #3 from Segher Boessenkool --- Send patches to gcc-patches@, please. Or is there a question? Ask that question then, please :-)

[Bug libstdc++/59769] please add ios_base::__noreplace

2021-12-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59769 --- Comment #4 from Jonathan Wakely --- Created attachment 51953 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51953&action=edit Implement std::ios_base::__noreplace for C++23 TODO: tests

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os since r9-3594

2021-12-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #9 from Segher Boessenkool --- (In reply to Segher Boessenkool from comment #7) > What is this REG_RETURNED thing? Ah, something added in ira-lives.c, and you call *that* code fragile? I agree :-)

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os since r9-3594

2021-12-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #8 from Segher Boessenkool --- Also, what is fragile here? This is *removing* fragility and premature choices!

[Bug rtl-optimization/101995] [9/10/11/12 Regression] regression built-in memset missed-optimization arm -Os since r9-3594

2021-12-08 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995 --- Comment #7 from Segher Boessenkool --- I don't see any problem with aarch64 fwiw. If RA decides it does not want to tie the new pseudo to the argument register, it may have a reason for it? Or suboptimal heuristics. What is this REG_RETUR

[Bug fortran/103609] [11/12 Regression] ICE in gfc_sym_get_dummy_args, at fortran/symbol.c:5243 since r11-2578-g27eac9ee6137a6b5

2021-12-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103609 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|NEW

[Bug fortran/103609] [11/12 Regression] ICE in gfc_sym_get_dummy_args, at fortran/symbol.c:5243 since r11-2578-g27eac9ee6137a6b5

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103609 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b77968a70537429b4f548f90c369d26e6b6943cc commit r12-5847-gb77968a70537429b4f548f90c369d26e6b6943cc Author: Harald Anlauf Date: W

[Bug c++/83000] Constraints for union-templates do not work

2021-12-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #9 from Martin Liška --- Ju

[Bug target/97984] [10/11 Regression] Worse code for -O3 than -O2 on aarch64 vector multiply-add

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97984 --- Comment #5 from Andrew Pinski --- (In reply to Martin Liška from comment #4) > Hm, can't replicate for GCC 10, do you use any -mtune or so? I can reproduce worse code for GCC 10 at -O3 -mtune=generic: ldp x2, x3, [x0] ld

[Bug c++/103618] constexpr std::reverse produces strict-overflow warning

2021-12-08 Thread maik.urbannek at cattatech dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103618 --- Comment #3 from Maik Urbannek --- The `constexpr` in the main function is not necessary to produce the warning. The Function foo has to be constexpr. 'inline' or 'static' (before the function) does not produce the warning. Maybe `constexp

[Bug fortran/103609] [11/12 Regression] ICE in gfc_sym_get_dummy_args, at fortran/symbol.c:5243 since r11-2578-g27eac9ee6137a6b5

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

[Bug fortran/103591] ICE in gfc_compare_string, at fortran/arith.c:1119

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103591 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:423e0a98e3d972fb180803665a8c02b017b72d15 commit r11-9366-g423e0a98e3d972fb180803665a8c02b017b72d15 Author: Harald Anlauf

[Bug fortran/103607] [9/10/11/12 Regression] ICE in do_subscript, at fortran/frontend-passes.c:2927

2021-12-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103607 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:8ff9ed7f4f7e80b4602524689dc486cf35e84e87 commit r11-9365-g8ff9ed7f4f7e80b4602524689dc486cf35e84e87 Author: Harald Anlauf

[Bug c++/67217] [concepts] Constraints are ignored when specializing union templates

2021-12-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67217 Jonathan Wakely changed: What|Removed |Added CC||klaus.doldinger64@googlemai

[Bug c++/83000] Constraints for union-templates do not work

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

[Bug c++/83476] [9 Regression] Template argument deduction fails with reference template parameter

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83476 Andrew Pinski changed: What|Removed |Added CC||vittorio.romeo at outlook dot com --- C

[Bug c++/80651] Non-type template argument deduction fails

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

[Bug c++/83000] Constraints for union-templates do not work

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000 --- Comment #7 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > $ g++ --version > g++ (GCC) 12.0.0 20211208 (experimental) > > $ g++ pr83000.C -c -fconcepts > pr83000.C: In function ‘int main()’: > pr8

[Bug c++/88580] Parameter pack expansion fails (variadic constructor template inside a variadic class template)

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

[Bug c++/84464] Pack expansion in mem-initializer-list with expression-list

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

[Bug c++/83000] Constraints for union-templates do not work

2021-12-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000 --- Comment #6 from Martin Liška --- $ g++ --version g++ (GCC) 12.0.0 20211208 (experimental) $ g++ pr83000.C -c -fconcepts pr83000.C: In function ‘int main()’: pr83000.C:6:18: error: template constraint failure for ‘template requires sizeof

[Bug tree-optimization/81174] bswap not recognized in |= statement

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

[Bug c++/83000] Constraints for union-templates do not work

2021-12-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83000 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > (In reply to Martin Liška from comment #3) > > (In reply to Andrew Pinski from comment #2) > > > Seems fixed in GCC 10. > > > > Are you sure, all releases I have

[Bug c++/80651] Non-type template argument deduction fails

2021-12-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80651 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org See A

[Bug c++/83000] Constraints for union-templates do not work

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

  1   2   3   >