[Bug c++/101595] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13124

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101595 Bug ID: 101595 Summary: ICE: in tsubst_pack_expansion, at cp/pt.c:13124 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/101596] New: vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 Bug ID: 101596 Summary: vect_recog_mulhs_pattern could use incorrect precision to check shift count Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug c++/101595] ICE: in tsubst_pack_expansion, at cp/pt.c:13124

2021-07-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101595 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug middle-end/101596] vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 Kewen Lin changed: What|Removed |Added Last reconfirmed||2021-07-23 Assignee|unassigned at

[Bug ipa/101502] Inconsistent behavior in maybe_record_node()

2021-07-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101502 --- Comment #2 from Feng Xue --- (In reply to Martin Liška from comment #1) > @Honza: Can you please take a look? > @Feng: Do you have a test-case for it, please? No. I just got this from code logic, but not 100% sure.

[Bug middle-end/101596] vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 --- Comment #2 from Kewen Lin --- Created attachment 51200 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51200&action=edit Untested patch Still need test cases to be added.

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

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

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #1 from Jonathan Wakely --- Maybe we should add this somewhere and just stop using std::min for integers: struct __min_fn { template typename common_type<_Tp, _Up>::type operator()(_Tp __t, _Up __u) const noexcep

[Bug target/95286] -march=native causes mt19937_64 + uniform_real_distribution generating wrong result.

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

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #2 from Jakub Jelinek --- Reduced testcase: struct A { char a; }; struct B : virtual A {}; struct C : B {}; void foo () { C c; __builtin_clear_padding (&c); }

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #2 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #1) > Maybe we should add this somewhere and just stop using std::min for integers: > > struct __min_fn > { > template > typename common_type<_Tp, _Up>::type >

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #3 from Jonathan Wakely --- In theory yes, but it's unlikely to be a problem in practice because the library doesn't need to compare unsigned types with negative values. If it does need to do that, it is either already doing so caref

[Bug tree-optimization/101597] New: r12-2132-ga110855667782dac[12 Regression] ICE in evrp since

2021-07-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 Bug ID: 101597 Summary: r12-2132-ga110855667782dac[12 Regression] ICE in evrp since Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/101597] [12 Regression] ICE in evrp since r12-2132-ga110855667782dac

2021-07-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 Martin Liška changed: What|Removed |Added Summary|r12-2132-ga110855667782dac[ |[12 Regression] ICE in evrp

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #4 from 康桓瑋 --- (In reply to Jonathan Wakely from comment #3) > > I'm not suggesting designing a general purpose replacement for std::min that > handles all the possible corner cases, I'm just suggesting a convenience > function for

[Bug libstdc++/101587] ranges::uninitialized_copy/move incorrectly uses std::min

2021-07-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101587 --- Comment #5 from Jonathan Wakely --- Yes, much simpler than that! :-) There are lots of uses of std::min and std::max with explicit template argument lists in the Parallel Mode headers, but I have no intention of touching them, and they need

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-23 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #8 from Bernd Edlinger --- I can of course make the .loc go away. If you really want that. It is basically the DECL_SOURCE_LOCATION of an otherwise ignored decl. If the DECL_SOURCE_LOCATION is UNKNOWN_LOCATION the function should h

[Bug debug/101598] New: [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 Bug ID: 101598 Summary: [debug, ada] .loc generated for defs__struct1IP Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #9 from Tom de Vries --- (In reply to Eric Botcazou from comment #7) > (> More specifically, it's gone because we have: > > ... > > $ more defs.s > > .file "defs.adb" > > .text > > .Ltext0: > > .align 2 > >

[Bug libstdc++/95048] [9/10/11/12 Regression] wstring-constructor of std::filesystem::path throws for non-ASCII characters

2021-07-23 Thread gcc-bugzilla at m dot chronial.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048 --- Comment #11 from Christian Fersch --- Would you accept a patch that implements my solution from comment 6? It seems to me like that would be an improvement over the current situation.

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #1 from Tom de Vries --- FWIW, this works for me: ... $ git diff diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 82783c4968b..0e21775041c 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -28390,6 +28390,8 @@ dwarf2out_sourc

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #2 from Bernd Edlinger --- Yes, but it wont fix dwarf-4 and also not the case when this is not the first function. then we'll have the .loc from the previous function extend to this one.

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > FWIW, this works for me: And, doesn't reintroduce PR101575 on trunk. AFAIU, the solution suggested in PR101575 comment 8 of setting the DECL_SOURCE_LOCATION for

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #4 from Tom de Vries --- (In reply to Bernd Edlinger from comment #2) > Yes, but it wont fix dwarf-4 and also not the case > when this is not the first function. then we'll > have the .loc from the previous function extend to this on

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-23 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #5 from Bernd Edlinger --- I will have a look.

[Bug target/101504] [12 Regression] ICE: in lra_assign, at lra-assigns.c:1649 with -O2 -march=broadwell

2021-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101504 --- Comment #3 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:08573db03c2e53db368d699c47032c6c5f2e commit r12-2495-g08573db03c2e53db368d699c47032c6c5f2e Author: H.J. Lu Date: Thu Jul 22 05

[Bug target/101504] [12 Regression] ICE: in lra_assign, at lra-assigns.c:1649 with -O2 -march=broadwell

2021-07-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101504 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/101599] New: ranges::__copy_or_move missing std::move for input_iterator

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599 Bug ID: 101599 Summary: ranges::__copy_or_move missing std::move for input_iterator Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/101600] New: Spurious -Warray-bounds

2021-07-23 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600 Bug ID: 101600 Summary: Spurious -Warray-bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/101592] ICE in wide_int_to_tree, at tree.c:1427

2021-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug c++/101592] ICE in wide_int_to_tree, at tree.c:1427

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

[Bug libstdc++/101599] ranges::copy_or_move missing std::move for input_iterator

2021-07-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Last reconf

[Bug c++/101592] ICE in wide_int_to_tree, at tree.c:1427

2021-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101592 --- Comment #3 from Marek Polacek --- Thanks, I'll test that sometime soon.

[Bug c++/101601] New: [12 Regression] -Wall is reported as a build error (not warning): error: arrays of functions are not meaningful

2021-07-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
-nls --without-isl --disable-libsanitizer --disable-libvtv --disable-libgomp --disable-libstdcxx-pch --disable-libunwind-exceptions CFLAGS='-O1 ' CXXFLAGS='-O1 ' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210723 (experimental) (GCC)

[Bug fortran/101602] New: local and local_init are not supported in DO CONCURRENT

2021-07-23 Thread jeff.science at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101602 Bug ID: 101602 Summary: local and local_init are not supported in DO CONCURRENT Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #4 from qinzhao at gcc dot gnu.org --- I applied the attached patch and tested CPU2017 with -ftrivial-auto-var-init=pattern, now all the corresponding C++ failures get resolved.

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #5 from qinzhao at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #2) > Reduced testcase: > struct A { char a; }; > struct B : virtual A {}; > struct C : B {}; > > void > foo () > { > C c; > __builtin_clear_padding

[Bug middle-end/101601] [12 Regression] -Wall is reported as a build error (not warning): error: arrays of functions are not meaningful

2021-07-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601 Marek Polacek changed: What|Removed |Added Component|c++ |middle-end Last reconfirmed|

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #6 from Jakub Jelinek --- It is related to the weird FIELD_DECLs the C++ FE creates for the virtual inheritence, there is e.g. a FIELD_DECL with B type (where B has 16 byte size and includes the 8 byte virtual pointer and 1 byte A),

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #10 from Eric Botcazou --- > I can of course make the .loc go away. If you really want that. > > It is basically the DECL_SOURCE_LOCATION of an > otherwise ignored decl. If the DECL_SOURCE_LOCATION > is UNKNOWN_LOCATION the functio

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #7 from Qing Zhao --- > On Jul 23, 2021, at 10:10 AM, jakub at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 > > --- Comment #6 from Jakub Jelinek --- > It is related to the weird FIELD_DECLs t

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #8 from Jakub Jelinek --- (In reply to Qing Zhao from comment #7) > So, is such type information generated by C++FE correct? Yes. It is needed that way to follow the Itanium C++ ABI. > > BTW, if you are using the clear padding cod

[Bug middle-end/101586] ICE:in clear_padding_type, at gimple-fold.c:4783 with call to __builtin_clear_padding for C++

2021-07-23 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 --- Comment #9 from Qing Zhao --- > On Jul 23, 2021, at 10:34 AM, jakub at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101586 > > --- Comment #8 from Jakub Jelinek --- > (In reply to Qing Zhao from comment #7)

[Bug libstdc++/101599] ranges::copy_or_move missing std::move for input_iterator

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101599 --- Comment #2 from 康桓瑋 --- (In reply to 康桓瑋 from comment #0) > > We should std::move __first to recursive ranges::__copy_or_move() call since > some input_iterator such as basic_istream_view​::​iterator does not have the > copy constructor. >

[Bug middle-end/101601] [12 Regression] -Wall is reported as a build error (not warning): error: arrays of functions are not meaningful

2021-07-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601 Sergei Trofimovich changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comm

[Bug middle-end/56337] __attribute__((aligned(N))) breaks for N=1<<28

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Target|

[Bug c++/101597] [12 Regression] ICE in pretty-printer formatting an OBJ_TYPE_REF since r12-2132-ga110855667782dac

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101597 Martin Sebor changed: What|Removed |Added Component|tree-optimization |c++ Summary|[12 Regression] I

[Bug target/56337] __attribute__((aligned(N))) breaks for N=1<<28

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Component|middle-end

[Bug middle-end/101601] [12 Regression] -Warray-bounds triggers error: arrays of functions are not meaningful

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug c/87683] Inline asm input/output operand does not prevent compiler optimization

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

[Bug rtl-optimization/101562] [9/10/11/12 Regression] ICE in insert, at wide-int.cc:682

2021-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101562 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8408d34570c9fe9f3d22a25a76df2a4c64f08477 commit r12-2499-g8408d34570c9fe9f3d22a25a76df2a4c64f08477 Author: Jakub Jelinek Date: F

[Bug rtl-optimization/101562] [9/10/11 Regression] ICE in insert, at wide-int.cc:682

2021-07-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101562 Jakub Jelinek changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9/10/11 Regression] ICE in

[Bug preprocessor/96842] enhancement: copy clang Wheader-guard

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96842 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|c

[Bug c/99156] __builtin_expect is folded too soon allowing an non-integer-constant-expr to become an integer-const-expr

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99156 Andrew Pinski changed: What|Removed |Added Summary|__builtin_expect affects|__builtin_expect is folded

[Bug c++/32143] decl rtl generated with incorrect visibility

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

[Bug c++/45501] Compiler does not find template function if member is addressed with "this"

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45501 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Status|NEW

[Bug fortran/101536] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7324

2021-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101536 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e314cfc371d8b2405a1d81e51b90f9fb24b9061f commit r12-2500-ge314cfc371d8b2405a1d81e51b90f9fb24b9061f Author: Harald Anlauf Date: F

[Bug c++/45374] template keyword incorrectness// failure to parse valid code.

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45374 --- Comment #4 from Andrew Pinski --- clang rejects the code in a similar way as GCC does: :23:27: error: 'MyClass<6>::MyFunc' is not a member of class 'MyDerivedClass' return ptr->MyClass::MyFunc(); ^ :31:33: note: i

[Bug c++/101603] New: [meta-bug] pointer to member functions issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug ID: 101603 Summary: [meta-bug] pointer to member functions issues Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Priori

[Bug c++/83137] Member function pointer template parameter not constant expression when set to nullptr

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83137 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/83912] [constexpr] struct with a pointer to one of its members, returned by a function, is not a constant expression

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

[Bug c++/55004] [meta-bug] constexpr issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 83912, which changed state. Bug 83912 Summary: [constexpr] struct with a pointer to one of its members, returned by a function, is not a constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83912 W

[Bug c/97548] [11 Regression] bogus -Wvla-parameter on a bound expression involving a parameter

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548 Martin Sebor changed: What|Removed |Added Summary|bogus -Wvla-parameter on a |[11 Regression] bogus |

[Bug c++/81678] Variadic template parameters containing pointer to member function fail to be parsed unless name of the parameter is specified

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81678 --- Comment #2 from Andrew Pinski --- clang gives a warning now: :2:22: warning: ISO C++11 requires a parenthesized pack declaration to have a name [-Wanonymous-pack-parens] void f (void (T::*...)()) ^ So maybe GCC is correc

[Bug c/101604] New: [meta-bug] bogus/missing -Wvla-parameter

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101604 Bug ID: 101604 Summary: [meta-bug] bogus/missing -Wvla-parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/101604] [meta-bug] bogus/missing -Wvla-parameter

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

[Bug c++/84287] pointer to member function type with dependent parameter cannot be mangled

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84287 Andrew Pinski changed: What|Removed |Added Blocks||101603 Last reconfirmed|2018-02-08 00:

[Bug c++/92969] Segmentation fault compiling partial specialization of auto-deduced member function pointers

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92969 Andrew Pinski changed: What|Removed |Added Blocks||101603 Status|UNCONFIRMED

[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485 Andrew Pinski changed: What|Removed |Added Blocks||101603, 55004 Resolution|---

[Bug c++/101603] [meta-bug] pointer to member functions issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 80485, which changed state. Bug 80485 Summary: rejects-valid: constexpr static_cast of pointer-to-member-function to bool https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485 What|Removed

[Bug c++/55004] [meta-bug] constexpr issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 80485, which changed state. Bug 80485 Summary: rejects-valid: constexpr static_cast of pointer-to-member-function to bool https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485 What|Removed

[Bug c++/101465] Poorly worded error from a call to a pointer-to-member function not wrapped in parentheses

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101465 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-07-15 00:00:00 |2021-7-23 --- Comment #2 from Andrew Pi

[Bug c/97548] [11 Regression] bogus -Wvla-parameter on a bound expression involving a parameter

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97548 --- Comment #6 from Martin Sebor --- The fix isn't very robust since it only handles redeclarations with VLA parameters that involve bounds that have the same name but not nontrivial expressions involving different names, like in this case: $ ca

[Bug c++/51405] [9/10/11/12 Regression] Passing method result to constructor treated as function declaration

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51405 Andrew Pinski changed: What|Removed |Added Host|ubuntu 11.10| Known to fail|

[Bug c/101289] [11 Regression] bogus -Wvla-paramater warning when using const for vla param

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101289 Martin Sebor changed: What|Removed |Added Summary|bogus -Wvla-paramater |[11 Regression] bogus

[Bug c++/10118] Bad diagnostic with cast in template argument expression

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10118 Andrew Pinski changed: What|Removed |Added Blocks||101603 Last reconfirmed|2005-12-11 23:

[Bug c/101605] New: bogus -Wvla-parameter in same bound expression with differently named parameters

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101605 Bug ID: 101605 Summary: bogus -Wvla-parameter in same bound expression with differently named parameters Product: gcc Version: 11.0 Status: UNCONFIRMED Severit

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2021-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|anlauf

[Bug c++/80575] unnecessary virtual function table support in member function call

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

[Bug c++/101603] [meta-bug] pointer to member functions issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 80575, which changed state. Bug 80575 Summary: unnecessary virtual function table support in member function call https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80575 What|Removed |Adde

[Bug c++/78609] invalid member's visibility detection in constexpr with arrays

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78609 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-23 Summary|invalid me

[Bug c++/98038] ICE on invalid trying to recursively invoke a lambda object with operator()

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

[Bug target/56337] __attribute__((aligned(N))) breaks for N=1<<28

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

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

[Bug c++/52099] Incorrectly applying conversion when catching pointer-to-members

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52099 Andrew Pinski changed: What|Removed |Added CC||eric at efcs dot ca --- Comment #1 from

[Bug c++/101603] [meta-bug] pointer to member functions issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 69375, which changed state. Bug 69375 Summary: GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 What|Removed

[Bug c++/58040] Cannot take address-of public using-declaration of member from protected base class

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58040 --- Comment #6 from Andrew Pinski --- clang fails the same way.

[Bug c++/77601] error: cannot convert 'is_same' to 'const bool' in initialization

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

[Bug c++/78246] Incorrect vector variable set but not used warning

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

[Bug c++/78949] incorrect "unused variable" warning with SSE2

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949 Andrew Pinski changed: What|Removed |Added CC||zoltan at hidvegi dot com --- Comment #1

[Bug c++/78280] GCC incorrectly accepts assignment in bitfield width

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

[Bug middle-end/101600] [12 Regression] Spurious -Warray-bounds downcasting a polymorphic pointer

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600 Martin Sebor changed: What|Removed |Added Blocks||56456 Target Milestone|---

[Bug c++/81152] False strict-aliasing warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81152 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Resolution|---

[Bug c++/89960] Implicit derived to base conversion considered type punning.

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

[Bug c++/86922] Invoking templated PTMF on subclass gives false strict-aliasing warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86922 Andrew Pinski changed: What|Removed |Added CC||cassio.neri at gmail dot com --- Comment

[Bug c++/101603] [meta-bug] pointer to member functions issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 89960, which changed state. Bug 89960 Summary: Implicit derived to base conversion considered type punning. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960 What|Removed |Added -

[Bug c++/81152] False strict-aliasing warning

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

[Bug c++/94951] [8/9 Regression] dereferencing type-punned pointer will break strict-aliasing rules when using super class for a template type

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951 Andrew Pinski changed: What|Removed |Added CC||rrrlasse at hotmail dot com --- Comment

  1   2   >