[Bug fortran/92065] [9/10/11/12 Regression] internal compiler error: in expand_expr_real_1

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #28 from Ri

[Bug target/100711] Miss optimization for pandn

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100711 Richard Biener changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comment

[Bug target/100637] [i386] Vectorize 4-byte vectors

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100637 --- Comment #4 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:dcde81134cb24da8e261a4346c806c676297922b commit r12-960-gdcde81134cb24da8e261a4346c806c676297922b Author: Uros Bizjak Date: Fri Ma

[Bug libstdc++/100606] Please complete LWG3490: ranges::drop_while_view::begin() is missing a precondition.

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100606 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:11784fe27d879a10dc8a79212c37f50d4f7146f3 commit r12-959-g11784fe27d879a10dc8a79212c37f50d4f7146f3 Author: Patrick Palka Date: Fr

[Bug libstdc++/100690] ranges::iota_view::_Sentinel cannot access _M_current of _Iterator

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100690 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:317a38cd468d565dc8ce45c6da0dbccf38808f70 commit r12-958-g317a38cd468d565dc8ce45c6da0dbccf38808f70 Author: Patrick Palka Date: Th

[Bug target/100712] New: The vec_splatid instruction allows the creation of XXSPLTIDP instructions which produces undefined results.

2021-05-20 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100712 Bug ID: 100712 Summary: The vec_splatid instruction allows the creation of XXSPLTIDP instructions which produces undefined results. Product: gcc Version: 12.0

[Bug target/100711] New: Miss optimization for pandn

2021-05-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100711 Bug ID: 100711 Summary: Miss optimization for pandn Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Ass

[Bug other/100463] many errors using GTY and hash_map

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100463 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-05-21 Status|UNCONFIRME

[Bug jit/96089] Support initializers for global variables.

2021-05-20 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96089 --- Comment #2 from Antoni --- Created attachment 50851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50851&action=edit Add patch to set an arbitrary value to a global variable I made this patch to set an arbitrary value to a global varia

[Bug go/100537] Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

2021-05-20 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Target|arm-linux-g

[Bug c++/100489] [10/11/12 Regression] ICE in cp/constexpr.c:3556

2021-05-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100489 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/100489] [10/11/12 Regression] ICE in cp/constexpr.c:3556

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100489 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a335afe208cd27cf8ee4cb028fb7769700ab6245 commit r10-9857-ga335afe208cd27cf8ee4cb028fb7769700ab6245 Author: Jason Merrill

[Bug c++/80456] [9/10 Regression] calling constexpr member function from volatile-qualified member function: error: ‘this’ is not a constant expression

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80456 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:75c5c4ab2662a92f0e3811cb17e27cc61814b400 commit r10-9856-g75c5c4ab2662a92f0e3811cb17e27cc61814b400 Author: Jason Merrill

[Bug c++/100054] [11 Regression] internal compiler error: in get_nsdmi

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100054 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fe0f9ef823dda3205638a2f23d08eb7d0bc497b9 commit r10-9855-gfe0f9ef823dda3205638a2f23d08eb7d0bc497b9 Author: Jason Merrill

[Bug target/90479] gcc-arm-none-eabi-8-2018-q4-major [c99 plus -pg not working]

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90479 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:fe0f9ef823dda3205638a2f23d08eb7d0bc497b9 commit r10-9855-gfe0f9ef823dda3205638a2f23d08eb7d0bc497b9 Author: Jason Merrill D

[Bug c++/100032] [9/10 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d83c30ec6c4865ca23a135c067eb9b56ac74a1f2 commit r10-9854-gd83c30ec6c4865ca23a135c067eb9b56ac74a1f2 Author: Jason Merrill

[Bug c++/91933] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:59d821d3cce3496b3f4ede6293ffe192d0e56014 commit r10-9853-g59d821d3cce3496b3f4ede6293ffe192d0e56014 Author: Jason Merrill D

[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill

[Bug c++/96873] Internal compiler error in alias_ctad_tweaks

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96873 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill D

[Bug c++/93867] ICE using class type NTTPs and class template argument deduction

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93867 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill D

[Bug c++/99118] ICE in alias_ctad_tweaks, at cp/pt.c:28569

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99118 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill D

[Bug c++/99180] [10 Regression] ICE with alias template and empty parameter pack

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99180 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill

[Bug c++/93295] ICE in alias_ctad_tweaks

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93295 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:92e9b2a995f718f1c2ab1cd0840b439c24d3535f commit r10-9852-g92e9b2a995f718f1c2ab1cd0840b439c24d3535f Author: Jason Merrill

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

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41723 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e41d610696b81e72d1d06db176b281424e32fc23 commit r10-9851-ge41d610696b81e72d1d06db176b281424e32fc23 Author: Jason Merrill D

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

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52625 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:de47fb31b13e6bd20d693cb1eef47cbfb5de20ce commit r10-9850-gde47fb31b13e6bd20d693cb1eef47cbfb5de20ce Author: Jason Merrill

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

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92918 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:decd38f99dd05eb54ddcaee7c52f21a56a844613 commit r10-9849-gdecd38f99dd05eb54ddcaee7c52f21a56a844613 Author: Jason Merrill D

[Bug c++/96673] [9/10 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e206f71eaf98149224269b00407bc5def6ae2dca commit r10-9848-ge206f71eaf98149224269b00407bc5def6ae2dca Author: Jason Merrill D

[Bug c++/99901] [9/10 Regression] static const class var implemented with constexpr doesn't emit symbols in C++17 mode

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99901 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5b68416a940b32b739cdc033e018bab5161a721d commit r10-9847-g5b68416a940b32b739cdc033e018bab5161a721d Author: Jason Merrill D

[Bug c++/96311] [9/10 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8909ed58700694f5ba66499739edfea90a0fc813 commit r10-9846-g8909ed58700694f5ba66499739edfea90a0fc813 Author: Jason Merrill D

[Bug c++/95870] [9/10 Regression] ICE (segmentation fault) in most_general_template(), in gcc/cp/pt.c

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ff24ef677edee888012aaddeb0ec9bbe366b4f57 commit r10-9845-gff24ef677edee888012aaddeb0ec9bbe366b4f57 Author: Jason Merrill

[Bug c++/99201] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:16581 since r8-7613-g1456e764105702a0

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99201 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7c365bb1462a7a9dadf9b8f8668a0c832b18056c commit r10-9844-g7c365bb1462a7a9dadf9b8f8668a0c832b18056c Author: Jason Merrill

[Bug c++/99643] [9/10 Regression] internal compiler error in build_over_call, involving array new and copy elision

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99643 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dce71e0a274f58fe7cbabba8760f78469ba13548 commit r10-9843-gdce71e0a274f58fe7cbabba8760f78469ba13548 Author: Jason Merrill D

[Bug c++/90664] [9/10 regression] noexcept confuses template argument deduction

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b13ac26df5e401ce5914b8ec0c862d56edd57913 commit r10-9842-gb13ac26df5e401ce5914b8ec0c862d56edd57913 Author: Jason Merrill D

[Bug c++/91217] [9/10 Regression] Returning std::array from lambda results in an extra copy step on return

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a12ae580e13f5856983142a0234651d8e8aad599 commit r10-9841-ga12ae580e13f5856983142a0234651d8e8aad599 Author: Jason Merrill D

[Bug c++/97938] [9/10 Regression] g++ crash when inferring type of auto parameter pack in lambda capture

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97938 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5e7801808d2e9e99dc2931462c69a80c6f0e89cc commit r10-9840-g5e7801808d2e9e99dc2931462c69a80c6f0e89cc Author: Jason Merrill D

[Bug fortran/100551] [11/12 Regression] Passing return value of intrinsic to class(*) dummy argument can cause segfaults

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

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 gnzlbg changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/100705] RFE: warn about dead store

2021-05-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100705 David Malcolm changed: What|Removed |Added Summary|warn about dead store |RFE: warn about dead store --- Comment

[Bug c++/100489] [10/11/12 Regression] ICE in cp/constexpr.c:3556

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100489 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0a1010428b3861464eb319c629c68cb13b9ca01e commit r11-8449-g0a1010428b3861464eb319c629c68cb13b9ca01e Author: Jason Merrill

[Bug c++/100489] [10/11/12 Regression] ICE in cp/constexpr.c:3556

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100489 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:84fd1b5dff70cd74aee7e8b18f66959d8b8e1ce7 commit r12-954-g84fd1b5dff70cd74aee7e8b18f66959d8b8e1ce7 Author: Jason Merrill Date: We

[Bug target/100693] PPC: missing 64-bit addg6s

2021-05-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100693 Segher Boessenkool changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/100693] PPC: missing 64-bit addg6s

2021-05-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100693 --- Comment #1 from Segher Boessenkool --- Confirmed. The define_insn for it is for SImode only as well.

[Bug libstdc++/100676] Redeclaring __failed_assertion() at every point of use of __glibcxx_assert breaks Clang CUDA

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100676 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6b42b5a8a207de5e021a2916281f46bcd60b20d2 commit r12-952-g6b42b5a8a207de5e021a2916281f46bcd60b20d2 Author: Jonathan Wakely Date:

[Bug c++/100710] New: static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression

2021-05-20 Thread jason.e.cobb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100710 Bug ID: 100710 Summary: static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression Product: gcc Version

[Bug fortran/100656] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1934

2021-05-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100656 --- Comment #2 from anlauf at gcc dot gnu.org --- Using a temporary may help: subroutine s(x) character(:), allocatable, optional :: x(:) character(:), allocatable :: y(:) if ( present(x) ) then if ( allocated(x) ) then

[Bug target/100694] PPC: initialization of __int128 is very inefficient

2021-05-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100694 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2021-05-20 Ever confirmed|0

[Bug c++/100708] dynamic_cast can convert xvalue to lvalue

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100708 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/100709] New: Use of a function parameter pack in an expression expected to be constexpr in a deduction guide produces an unclear diagnostic.

2021-05-20 Thread brycelelbach at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100709 Bug ID: 100709 Summary: Use of a function parameter pack in an expression expected to be constexpr in a deduction guide produces an unclear diagnostic. Product: gcc

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 --- Comment #3 from Jonathan Wakely --- (In reply to gnzlbg from comment #2) > Until C++17, creating an enum value that's out-of-range of the enum was > unspecified behavior. In C++ standard >= 17 (e.g. -std=c++17), this became > undefined behav

[Bug c++/100708] New: dynamic_cast can convert xvalue to lvalue

2021-05-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100708 Bug ID: 100708 Summary: dynamic_cast can convert xvalue to lvalue Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Patrick Palka changed: What|Removed |Added CC||asif_bahrainwala at hotmail dot co

[Bug c++/99611] Code compilation issue using templates

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99611 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Resolu

[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 Martin Sebor changed: What|Removed |Added Summary|spurious -Wnonnull with -O1 |[11 Regression] spurious

[Bug middle-end/100684] spurious -Wnonnull with -O1 on a C++ lambda

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:9480491a6447576e8e695b8ea3c4989cf72c9670 commit r12-948-g9480491a6447576e8e695b8ea3c4989cf72c9670 Author: Martin Sebor Date: Thu

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 --- Comment #2 from gnzlbg --- > in a call to f(-1) the function falls off the end, Indeed, thanks. Using <= in the condition removes the warning. > and ditto in a call to h ((enum E)2) Until C++17, creating an enum value that's out-of-range

[Bug fortran/92065] [9/10/11/12 Regression] internal compiler error: in expand_expr_real_1

2021-05-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065 --- Comment #27 from anlauf at gcc dot gnu.org --- The code seems to compile with today's trunk, but still fails with 11-branch. Could one of Paul's recent commits have fixed this? If so, a backport might be nice.

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

2021-05-20 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100655 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de ---

[Bug tree-optimization/88240] [9 Regression] Potential optimization bug: invalid pre-load of floating-point value could cause SIGFPE-underflow if value is integer

2021-05-20 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88240 --- Comment #23 from Thomas De Schampheleire --- Thanks a lot!

[Bug tree-optimization/100696] mult_higpart is not vectorized

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100696 Uroš Bizjak changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment #

[Bug libstdc++/100639] reverse_iterator::reference erroneously uses iterator_traits::reference instead of iter_reference_t

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100639 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d5cbe0f0d4b7bc11f80b2236521f90ec94e95767 commit r12-946-gd5cbe0f0d4b7bc11f80b2236521f90ec94e95767 Author: Patrick Palka Date: Th

[Bug target/100706] Invalid instructions in plt calls on PPC

2021-05-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100706 --- Comment #1 from Andrew Pinski --- GCC does not generate the PLTs directly normally. It is the linker. Does using BFD ld instead of gold fix the issue?

[Bug c++/100700] -Wreturn-type has many false positives

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100700 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Seve

[Bug c/100702] Strict overflow warning regression in gcc 8 onwards

2021-05-20 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Seve

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #225 from John Buddery --- Yes, I looked briefly at that - I added a new class, but then started hitting bundling errors because it wasn't being positioned correctly in the 3 instruction bundle. It will need more changes to itanium2.

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #224 from dave.anglin at bell dot net --- On 2021-05-20 10:59 a.m., jvb at cyberscience dot com wrote: > but I need to work out how to vary the attribute, as you were right: scall > maps > to a "B" type attribute, but brl is an L+X in

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:a71f55c482ada2c6c31d450ac22494b547512127 commit r12-945-ga71f55c482ada2c6c31d450ac22494b547512127 Author: Uros Bizjak Date: Thu Ma

[Bug c/100661] [11/12 Regression] ICE in omp-low.c / refs_may_alias_p_2, at tree-ssa-alias.c:2460

2021-05-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100661 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug c++/100707] [modules] ICE on nested namespace

2021-05-20 Thread amorvincitomnia.iw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100707 --- Comment #1 from wang ivor --- A quick workaround: https://wandbox.org/permlink/n8E5xJuJhq1CUA0e Create a module that only contains the namespace declaration, and 'export import' it whenever you declare a new namespace. // namespace_decl.cc

[Bug c++/100707] New: [modules] ICE on nested namespace

2021-05-20 Thread amorvincitomnia.iw at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100707 Bug ID: 100707 Summary: [modules] ICE on nested namespace Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100646] [11 Regression] gcc -E -fdirectives-only causes "error: unterminated comment" when no new line at the end of file

2021-05-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100646 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Sum

[Bug target/100706] New: Invalid instructions in plt calls on PPC

2021-05-20 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100706 Bug ID: 100706 Summary: Invalid instructions in plt calls on PPC Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: targe

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #1) > Hmm, I didn't realize we can't push %xmm regs... With loads+stores the > pushes do not look less efficient for this particular example? I suppose a > nice > archite

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |9.4 Resolution|---

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5bd98868260de9cfc44224cf3833eb86e95d7c47 commit r9-9544-g5bd98868260de9cfc44224cf3833eb86e95d7c47 Author: Eric Botcazou Dat

[Bug c++/100281] ICE with SImode pointer assignment in C++

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100281 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:e43f47686980e9d0081aa765b619bdc89189b51a commit r11-8448-ge43f47686980e9d0081aa765b619bdc89189b51a Author: Andreas Krebb

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a4b3683e3cb00459eb74d1a37be8936abd529865 commit r10-9839-ga4b3683e3cb00459eb74d1a37be8936abd529865 Author: Eric Botcazou D

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a470d058707bf3e555f30adc68237f422d0a7d47 commit r11-8447-ga470d058707bf3e555f30adc68237f422d0a7d47 Author: Eric Botcazou D

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 --- Comment #2 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:325bb080259d3a00c5f5a7378872f78a2b889dfb commit r12-943-g325bb080259d3a00c5f5a7378872f78a2b889dfb Author: Eric Botcazou Date: Thu

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #223 from dave.anglin at bell dot net --- On 2021-05-20 10:59 a.m., jvb at cyberscience dot com wrote: > The simplest variant I have is: > > (define_insn "call_nogp" > [(call (mem:DI (match_operand:DI 0 "call_operand" "?b,s")) >

[Bug testsuite/96488] failures of gnat.dg/unchecked_convert[56].adb on PowerPC64 LE

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96488 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug ada/60977] Float_IO.Put fails on large floats when 'digits exceeds 15

2021-05-20 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60977 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #222 from dave.anglin at bell dot net --- On 2021-05-20 10:02 a.m., dave.anglin at bell dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #220 from dave.anglin at bell dot net --- > On 2021-05-20 9:37

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #221 from John Buddery --- Thanks - that is neater, as it avoids the need to change the calls in ia64.c, which gets messy. The simplest variant I have is: (define_insn "call_nogp" [(call (mem:DI (match_operand:DI 0 "call_operand"

[Bug libstdc++/100690] ranges::iota_view::_Sentinel cannot access _M_current of _Iterator

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100690 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/97051] Evaluating is_constant_evaluated in requires clause fails

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97051 Patrick Palka changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #7

[Bug c++/100675] std::string_view::find in constexpr function is not constant expression

2021-05-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100675 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/100704] Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 --- Comment #1 from Richard Biener --- Hmm, I didn't realize we can't push %xmm regs... With loads+stores the pushes do not look less efficient for this particular example? I suppose a nice architectural enhancement would be a push-multiple -

[Bug analyzer/100705] New: warn about dead store

2021-05-20 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100705 Bug ID: 100705 Summary: warn about dead store Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assig

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #220 from dave.anglin at bell dot net --- On 2021-05-20 9:37 a.m., jvb at cyberscience dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #219 from John Buddery --- > Great, thanks - I'll look at ia64.

[Bug target/100704] New: Vector register isn't used to push BLKmode argument onto stack

2021-05-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100704 Bug ID: 100704 Summary: Vector register isn't used to push BLKmode argument onto stack Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/100145] missed optimization for dead code elimination at -O3 (vs. -O2)

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100145 --- Comment #3 from Richard Biener --- Note after inlining we still have a backedge into BB 3: [local count: 1073741824]: c = 0; b.1_7 = b; if (b.1_7 != 0) goto ; [34.00%] else goto ; [66.00%] [local count: 3318838410]:

[Bug jit/100688] Add support for link section

2021-05-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #7 from David Malcolm --- One other thing: the docs should make it clear about the leading ".". If I want to create the equivalent of: __attribute__((section(".section"))) do I call it with: gcc_jit_lvalue_set_link_section(

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread jvb at cyberscience dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #219 from John Buddery --- Great, thanks - I'll look at ia64.c and build and test with that change. Yes, "b" on ia64 seems to be a branch register, and the brl op only accepts immediate values not registers. Initially I hoped the ass

[Bug jit/100688] Add support for link section

2021-05-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100688 --- Comment #6 from David Malcolm --- Thanks for the patch; I like the idea; various nits below: > diff --git a/gcc/jit/docs/topics/expressions.rst > b/gcc/jit/docs/topics/expressions.rst > index 396259ef07e..b39f6c02527 100644 > --- a/gcc/jit

[Bug target/100701] [12 Regression] wrong code with -O -fschedule-insns2

2021-05-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100701 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug middle-end/61577] [4.9.0 Regression] can't compile on hp-ux v3 ia64

2021-05-20 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 --- Comment #218 from dave.anglin at bell dot net --- On 2021-05-20 5:19 a.m., jvb at cyberscience dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577 > > --- Comment #217 from John Buddery --- > Thanks very much for adding the bi

[Bug target/100703] __vector_pair and __vector_quad cannot be passed by reference

2021-05-20 Thread alexander.grund--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100703 --- Comment #1 from Alexander Grund --- It goes further: Even the usual conversion rules for pointer types don't apply: void foo(__vector_pair*){} void bar(const __vector_pair*){} int main(){ __vector_pair p; foo(p); // works bar(p); // f

[Bug testsuite/100655] 'g++.dg/tsan/pthread_cond_clockwait.C' FAILs due to 'pthread_cond_clockwait' missing

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

[Bug libstdc++/100361] gcc-11 for msp430-elf fails to build: src/c++17/floating_to_chars.cc:107: d2fixed_full_table.h:1283:23: error: size of array ‘POW10_SPLIT_2’ exceeds maximum object size ‘32767’

2021-05-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100361 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Joern Rennecke : https://gcc.gnu.org/g:5f772bd9847cdbf6a7a6d856de87cb65472d56f4 commit r11-8446-g5f772bd9847cdbf6a7a6d856de87cb65472d56f4 Author: Joern Renneck

  1   2   >