[Bug c++/109169] Feature request: Allow omitted template prompts

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

[Bug c++/109169] Feature request: Allow omitted template prompts

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 --- Comment #5 from Andrew Pinski --- I suspect the thing you are requesting is having the template keyword as being optional but I am not sure.

[Bug c++/109169] Feature request: Allow omitted template prompts

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 --- Comment #4 from Andrew Pinski --- You provide a full example of what you want? Because right now your example your provided does not even compile with msvc.

[Bug c++/109169] Feature request: Allow omitted template prompts

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > There is a defect report in this area of gcc. Sorry c++

[Bug c++/109169] Feature request: Allow omitted template prompts

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 --- Comment #2 from Andrew Pinski --- There is a defect report in this area of gcc.

[Bug c++/109169] Feature request: Allow omitted template prompts

2023-03-16 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 --- Comment #1 from steve02081504 --- (Corrected code) ```c++ template struct type_info_t{ //... template static constexpr bool can_convert_to=XXX; //... }; template constexpr type_info_ttype_info{}; ```

[Bug c++/109169] New: Feature request: Allow omitted template prompts

2023-03-16 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109169 Bug ID: 109169 Summary: Feature request: Allow omitted template prompts Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/109168] bogus error: 'X' is not a valid template argument of type 'Y' because 'X' is not a variable

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109168 --- Comment #1 from Andrew Pinski --- (In reply to waffl3x from comment #0) > BTW, should I be selecting the oldest version that a bug occurs or the > newest version? I observed the behavior all the way back to 10.1, which > appears to be when

[Bug c++/109168] New: bogus error: 'X' is not a valid template argument of type 'Y' because 'X' is not a variable

2023-03-16 Thread waffl3x at protonmail dot com via Gcc-bugs
on my system with version: g++ (GCC) 13.0.1 20230219 (experimental) Here is the gcc version on compiler explorer at the time of writing: g++ (Compiler-Explorer-Build-gcc-0c061da91a3657afdb3fac68e4595af685909a1a-binutils-2.38) 13.0.1 20230316 (experimental) BTW, should I be selecting the oldest

[Bug testsuite/105959] new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2023-03-16 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 --- Comment #10 from Hans-Peter Nilsson --- (In reply to David Malcolm from comment #8) > Note that section 3.1 ("File Format" > "General") specifies: > "A SARIF log file SHALL be encoded in UTF-8 [RFC3629]." >

[Bug target/109167] rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109167 Kewen Lin changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug target/109167] New: rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header

2023-03-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109167 Bug ID: 109167 Summary: rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/109166] Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109166 --- Comment #2 from Andrew Pinski --- Armv4t does not have smp so the question is how do you think the below is not atomic? Yes interrupts but that requires more.

[Bug target/109166] Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109166 --- Comment #1 from Andrew Pinski --- https://inbox.sourceware.org/gcc-patches/4f596367.2050...@redhat.com/

[Bug target/109166] New: Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T

2023-03-16 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109166 Bug ID: 109166 Summary: Built-in __atomic_test_and_set does not seem to be atomic on ARMv4T Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/109165] New: std::hash>::operator() should be const

2023-03-16 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109165 Bug ID: 109165 Summary: std::hash>::operator() should be const Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/109164] thread_local initialization error with -ftree-pre

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109164 --- Comment #3 from Andrew Pinski --- I am not 100% if this is a front-end issue or a gimple level optimization issue.

[Bug tree-optimization/109164] thread_local initialization error with -ftree-pre

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109164 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/109164] thread_local initialization error with -ftree-pre

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109164 Andrew Pinski changed: What|Removed |Added Summary|thread_local initialization |thread_local initialization

[Bug c++/109164] New: aarch64 thread_local initialization error with -ftree-pre and -foptimize-sibling-calls

2023-03-16 Thread loganh at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109164 Bug ID: 109164 Summary: aarch64 thread_local initialization error with -ftree-pre and -foptimize-sibling-calls Product: gcc Version: 12.1.0 Status: UNCONFIRMED

[Bug other/109163] SARIF (and other JSON) output files are non-deterministic

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109163 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/105809] [10/11/12/13 Regression] __PRETTY_FUNCTION__ in constexpr in function vs NSDMI

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:78b3bf0e65072f5fa42a8da43698711220d4f8ef commit r13-6723-g78b3bf0e65072f5fa42a8da43698711220d4f8ef Author: Jason Merrill Date:

[Bug c++/108242] [10/11/12/13 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b323f52ccf966800297b0520b9e1d4b3951db525 commit r13-6722-gb323f52ccf966800297b0520b9e1d4b3951db525 Author: Jason Merrill Date:

[Bug c++/101869] [10/11/12/13 Regression] ::enumvalue is rejected

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1cc8814098bb46f9fca58a0b831fbf9a8574bdc9 commit r13-6721-g1cc8814098bb46f9fca58a0b831fbf9a8574bdc9 Author: Jason Merrill Date:

[Bug other/109163] SARIF (and other JSON) output files are non-deterministic

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109163 --- Comment #1 from David Malcolm --- This would also help with one of the requests from a SARIF expert's review of GCC's output: https://github.com/oasis-tcs/sarif-spec/issues/531#issuecomment-1181191100 which is that the "version" property

[Bug testsuite/105959] new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 --- Comment #9 from David Malcolm --- (In reply to David Malcolm from comment #7) [...snip...] > There some variation due to json::object using a hash_map for the key/value > pairs, which means (annoyingly) it outputs things in arbitrary

[Bug other/109163] New: SARIF (and other JSON) output files are non-deterministic

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109163 Bug ID: 109163 Summary: SARIF (and other JSON) output files are non-deterministic Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug testsuite/105959] new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 --- Comment #8 from David Malcolm --- Note that section 3.1 ("File Format" > "General") specifies: "A SARIF log file SHALL be encoded in UTF-8 [RFC3629]." https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html Though I suppose it

[Bug testsuite/105959] new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 David Malcolm changed: What|Removed |Added Last reconfirmed|2023-01-30 00:00:00 |2023-03-16 Ever confirmed|0

[Bug c++/109159] [10/11/12/13 Regression] explicit constructor is used in copy-initialization

2023-03-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109159 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Keywords|needs-bisection

[Bug c++/109159] [10/11/12/13 Regression] explicit constructor is used in copy-initialization

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109159 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Keywords|

[Bug debug/105089] CTF for a defined extern variable is ambiguous

2023-03-16 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105089 Indu Bhagat changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/109159] explicit constructor is used in copy-initialization

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109159 Andrew Pinski changed: What|Removed |Added Status|NEW |UNCONFIRMED Ever confirmed|1

[Bug c++/109159] explicit constructor is used in copy-initialization

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109159 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/109162] C++23 improvements to std::format

2023-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/109162] New: C++23 improvements to std::format

2023-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 Bug ID: 109162 Summary: C++23 improvements to std::format Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug ipa/81323] IPA-VRP doesn't handle return values

2023-03-16 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81323 --- Comment #6 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #4) > Or the ranger could do it itself, similarly to how it handles .ASSUME, but > without actually querying anything but the global range of the return value > if

[Bug debug/109161] New: Bad CTF generated for stub in function scope

2023-03-16 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109161 Bug ID: 109161 Summary: Bad CTF generated for stub in function scope Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #10 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:f231bca93ca92f6fd55de6fbe4bf8935f9ec558a commit r13-6719-gf231bca93ca92f6fd55de6fbe4bf8935f9ec558a Author: Gaius Mulley Date:

[Bug modula2/107630] runtime libs should be self-contained

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107630 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:77924dff144cf934e7a73417d237a99f0d9d66ed commit r13-6718-g77924dff144cf934e7a73417d237a99f0d9d66ed Author: Gaius Mulley Date:

[Bug c++/109160] New: [Valid code] Constraint on deduced NTTP from method call causes ICE/Segfault.

2023-03-16 Thread vincent_saulue at hotmail dot fr via Gcc-bugs
096 ``` Output of godbolt's gcc(trunk): ``` # g++ --version g++ (Compiler-Explorer-Build-gcc-0c061da91a3657afdb3fac68e4595af685909a1a-binutils-2.38) 13.0.1 20230316 (experimental) # g++ -std=c++20 : In substitution of 'template, Traits>] rhsBar> void Foo::doNothing(const Foo&) [with auto [

[Bug fortran/38220] C_LOC intrinsic non-pure and without explicit interface

2023-03-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 --- Comment #10 from anlauf at gcc dot gnu.org --- (In reply to Jeff Hammond from comment #8) > For what it's worth, ISO/IEC DIS 1539-1:2022 (E) now contains the following: > > All standard procedures in the intrinsic module ISO_C_BINDING, other

[Bug c++/109159] New: explicit constructor is used in copy-initialization

2023-03-16 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109159 Bug ID: 109159 Summary: explicit constructor is used in copy-initialization Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/106188] [coroutines] Incorrect frame layout after transforming conditional statement without top-level bind expression

2023-03-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106188 Arsen Arsenović changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/106713] [11/12 Regression] Coroutine regression in GCC 11.3.0: if (co_await ...) crashes with a jump to ud2 since r12-3529-g70ee703c479081ac

2023-03-16 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106713 Arsen Arsenović changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/105809] [10/11/12/13 Regression] __PRETTY_FUNCTION__ in constexpr in function vs NSDMI

2023-03-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/108242] [10/11/12/13 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2023-03-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 --- Comment #15 from Jakub Jelinek --- Created attachment 54686 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54686=edit gcc13-pr105554.patch This untested patch seems to work.

[Bug c++/109030] [13 Regression] checking ICE in cxx_eval_call_expression with aggregate initialization inside noexcept

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109030 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:31cdfdef04701e10cffcec4578b2337684f0e4bc commit r13-6716-g31cdfdef04701e10cffcec4578b2337684f0e4bc Author: Patrick Palka Date:

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 --- Comment #14 from Jakub Jelinek --- So, I have tried --- gcc/cgraphclones.cc.jj 2023-02-24 11:05:19.704595633 +0100 +++ gcc/cgraphclones.cc 2023-03-16 19:12:30.452503051 +0100 @@ -1094,6 +1094,15 @@

[Bug target/109140] ICE (during RTL pass: internal compiler error: in extract_insn, at recog.cc:2791) when building qemu on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-16 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 Sam James changed: What|Removed |Added CC||davem at davemloft dot net --- Comment #11

[Bug c++/100288] [11/12/13 Regression] g++-11 internal error and fails to precompile a concept

2023-03-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 Patrick Palka changed: What|Removed |Added Keywords||error-recovery, |

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #9 from Andrew Pinski

[Bug c++/100288] [11/12/13 Regression] g++-11 internal error and fails to precompile a concept

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100288 --- Comment #13 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c630157fd01140dbce120c1409c413a97dc17104 commit r13-6715-gc630157fd01140dbce120c1409c413a97dc17104 Author: Patrick Palka Date:

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 --- Comment #8 from seurer at gcc dot gnu.org --- Alas, yes. This system is quite old and not being updated any more. It hopefully will be retired soon. This probably isn't a big deal and as far as I am concerned can be ignored.

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 --- Comment #13 from Jakub Jelinek --- A lot of ipa passes use push_cfun: grep push_cfun ipa*.cc ipa-fnsummary.cc: push_cfun (DECL_STRUCT_FUNCTION (node->decl)); ipa-fnsummary.cc: push_cfun (DECL_STRUCT_FUNCTION (node->decl));

[Bug libstdc++/108636] [10 Regression] C++20 undefined reference to `std::filesystem::__cxx11::path::_List::type(std::filesystem::__cxx11::path::_Type)' with -fkeep-inline-functions

2023-03-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108636 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/108636] [10 Regression] C++20 undefined reference to `std::filesystem::__cxx11::path::_List::type(std::filesystem::__cxx11::path::_Type)' with -fkeep-inline-functions

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108636 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d640e435f156d8f825bf95c2164053b4a3a7b682 commit r10-11253-gd640e435f156d8f825bf95c2164053b4a3a7b682 Author: Jonathan

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 --- Comment #7 from Jakub Jelinek --- So, I think we can either use: 2023-03-16 Jakub Jelinek PR testsuite/109145 * gcc.dg/tree-ssa/forwprop-39.c (CMPLXF): Define if not defined. ---

[Bug fortran/109157] -fbound-check: false positive

2023-03-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109157 anlauf at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug middle-end/108685] [10/11/12/13 Regression] ICE in verify_loop_structure, at cfgloop.cc:1748 since r13-2388-ga651e6d59188da

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

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 --- Comment #5 from seurer at gcc dot gnu.org --- The excess error is: /home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/tree-ssa/forwprop-39.c: In function 'foo':

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 --- Comment #4 from seurer at gcc dot gnu.org --- Created attachment 54684 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54684=edit Preprocessed file Attached file from this command /home/seurer/gcc/git/build/gcc-test/gcc/xgcc

[Bug target/109140] ICE (during RTL pass: internal compiler error: in extract_insn, at recog.cc:2791) when building qemu on sparc64-unknown-linux-gnu with -march=niagara4

2023-03-16 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #10 from Mikael Pettersson --- A bisect between 4.6.4 (good) and 4.7.4 (bad) found: 1f9ed162eb30f1b40b65d164b3a40ac78e1f006e is the first bad commit commit 1f9ed162eb30f1b40b65d164b3a40ac78e1f006e Author: David S. Miller Date:

[Bug c++/101869] [10/11/12/13 Regression] ::enumvalue is rejected

2023-03-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/91133] [10/11/12/13 Regression] Wrong "partial specialization is not more specialized than" error

2023-03-16 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91133 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|SUSPENDED Assignee|jason at

[Bug target/109158] New: arm: errors when mixing __attribute__((pcs("aapcs-vfp"))) with +nofp

2023-03-16 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109158 Bug ID: 109158 Summary: arm: errors when mixing __attribute__((pcs("aapcs-vfp"))) with +nofp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: minor

[Bug target/109154] [13 regression] jump threading with de-optimizes nested floating point comparisons

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Tamar Christina changed: What|Removed |Added Summary|[13 regression] aarch64 |[13 regression] jump

[Bug target/109154] [13 regression] aarch64 -mcpu=neoverse-v1 microbude performance regression

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #2 from Tamar Christina --- Confirmed, It looks like the extra range information from g:4fbe3e6aa74dae5c75a73c46ae6683fdecd1a75d is leading jump threading down the wrong path. Reduced testcase: --- int etot_0,

[Bug libstdc++/108636] [10/11 Regression] C++20 undefined reference to `std::filesystem::__cxx11::path::_List::type(std::filesystem::__cxx11::path::_Type)' with -fkeep-inline-functions

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108636 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:05fa584bbb5534ec7a763a2d0e6d89cf251534f5 commit r11-10581-g05fa584bbb5534ec7a763a2d0e6d89cf251534f5 Author: Jonathan

[Bug libstdc++/104883] should define all std::errc enumerators

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104883 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c86ac1a463f97554b1df9ef8a3e18573ef115e35 commit r11-10578-gc86ac1a463f97554b1df9ef8a3e18573ef115e35 Author: Jonathan

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2023-03-16 Thread mail at maciej dot szmigiero.name via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 --- Comment #16 from Maciej S. Szmigiero --- > If you rely on the standard guarantee that extern "C" and extern "C++" make > function types different, you probably get compilation errors. It's the other way around - functions in

[Bug fortran/109157] -fbound-check: false positive

2023-03-16 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109157 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 Marek Polacek changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug tree-optimization/109156] Support Absolute Difference detection in GCC

2023-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-16 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #25 from Marek Polacek --- Maybe it would help to say that *any* class that has a reference member is a reference-wrapper and don't warn.

[Bug target/109154] [13 regression] aarch64 -mcpu=neoverse-v1 microbude performance regression

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Richard Biener changed: What|Removed |Added Component|tree-optimization |target Keywords|

[Bug middle-end/106133] ICE: SIGSEGV in diagnostic_output_format_init_json_file() with -fdiagnostics-format=json-file -E

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106133 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/106133] ICE: SIGSEGV in diagnostic_output_format_init_json_file() with -fdiagnostics-format=json-file -E

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106133 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:c5e2c3dd6afcf9b152df72b30e205b0180c0afd5 commit r13-6713-gc5e2c3dd6afcf9b152df72b30e205b0180c0afd5 Author: Martin Liska Date:

[Bug modula2/109125] [13 regression] SIGBUS in m2pim_ldtoa_ldtoa

2023-03-16 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #7 from Gaius Mulley --- > Created attachment 54675 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54675=edit > Proposed fix v3 > > Many thanks for testing and

[Bug testsuite/109145] new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails

2023-03-16 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 --- Comment #2 from seurer at gcc dot gnu.org --- I am updating some tools on the system and will try again.

[Bug sanitizer/108541] ASAN since GCC 9 missed a stack-buffer-overflow since r9-4503-g6e644a50045f8032

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108541 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/105973] Wrong branch prediction for if (COND) { if(x) noreturn1(); else noreturn2(); }

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105973 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/106133] ICE: SIGSEGV in diagnostic_output_format_init_json_file() with -fdiagnostics-format=json-file -E

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106133 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/108311] system.h defines va_copy but we require C++11 compiler

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108311 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc

[Bug middle-end/108312] NULL definition in system.h is no longer needed any more

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108312 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/109157] New: -fbound-check: false positive

2023-03-16 Thread philippe.wautelet at aero dot obs-mip.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109157 Bug ID: 109157 Summary: -fbound-check: false positive Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug tree-optimization/109156] Support Absolute Difference detection in GCC

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org

[Bug tree-optimization/109156] Support Absolute Difference detection in GCC

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 --- Comment #2 from Tamar Christina --- (In reply to Richard Biener from comment #1) > (In reply to Tamar Christina from comment #0) > > 2. It looks like all targets that implement SAD do so with an instruction > > that does ABD and then

[Bug analyzer/109094] [13 Regression] ICE in -fanalyzer seen in qemu's target/i386/tcg/translate.c

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 David Malcolm changed: What|Removed |Added Last reconfirmed||2023-03-16

[Bug tree-optimization/109156] Support Absolute Difference detection in GCC

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 --- Comment #1 from Richard Biener --- (In reply to Tamar Christina from comment #0) > 2. It looks like all targets that implement SAD do so with an instruction > that does ABD and then perform a reduction. So it looks like no target has > the

[Bug tree-optimization/109154] [13 regression] aarch64 -mcpu=neoverse-v1 microbude performance regression

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 --- Comment #1 from Tamar Christina --- Thanks for the report, taking a look!

[Bug tree-optimization/109156] New: Support Absolute Difference detection in GCC

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109156 Bug ID: 109156 Summary: Support Absolute Difference detection in GCC Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug analyzer/109094] [13 Regression] ICE in -fanalyzer seen in qemu's target/i386/tcg/translate.c

2023-03-16 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 --- Comment #4 from David Malcolm --- (In reply to Martin Liška from comment #3) > Fixed? Sadly no, the comment above is just to mention that at least the crash is now captured in the .sarif dump.

[Bug target/109004] [10/11/12/13 Regression] wrong code for -O2 (any above -O0) with g++ 11.3 for POWER9 (cross-compiler on x86_64 host)

2023-03-16 Thread bugreporter66 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109004 --- Comment #11 from bugreporter66 at gmail dot com --- Created a QEMU bug here: https://gitlab.com/qemu-project/qemu/-/issues/1547

[Bug tree-optimization/106912] [13 Regression] ICE in vect_transform_loops, at tree-vectorizer.cc:1032 since r13-1575-gcf3a120084e94614

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106912 --- Comment #12 from Jakub Jelinek --- https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614071.html https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614070.html

[Bug target/109004] [10/11/12/13 Regression] wrong code for -O2 (any above -O0) with g++ 11.3 for POWER9 (cross-compiler on x86_64 host)

2023-03-16 Thread bugreporter66 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109004 --- Comment #10 from bugreporter66 at gmail dot com --- I checked the simple version of the test with QEMU 6.2.0 and 7.0.0: ubuntu-mate@ubuntu-mate:~/Downloads/test_p64$ ubuntu-mate@ubuntu-mate:~/Downloads/test_p64$ powerpc64le-linux-gnu-g++

  1   2   >