[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 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 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 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++/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 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 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 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 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 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 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 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++/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++/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 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 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 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 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 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 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/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 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 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 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++/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 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 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 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 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 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 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 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 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 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 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 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++/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 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 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 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] 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 #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 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 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 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++/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++/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++/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 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/109123] [12 Regression] Bogus warning: pointer used after 'realloc' -Wuse-after-free with -O2

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109123 Richard Biener changed: What|Removed |Added Known to work||13.0 Priority|P3

[Bug tree-optimization/109011] missed optimization in presence of __builtin_ctz

2023-03-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109011 --- Comment #19 from Hongtao.liu --- Created attachment 54678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54678=edit gcc13-pr109011-3.patch Fix an ICE when gimple_call_lhs (call_stmt) is NULL in vect_recog_ctz_ffs_pattern, recognize

[Bug testsuite/108985] new test case gcc.dg/vect/pr108950.c from r13-6384-ge3837b6f6c28a1 fails

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108985 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:cd425a35ec2b157b520cee68a67c6296712f441b commit r12-9268-gcd425a35ec2b157b520cee68a67c6296712f441b Author: Richard

[Bug other/109149] new test case gcc.dg/vect/pr108950.c from r12-9262-gf4e4108dd00508 fails

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109149 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/109141] failure to diagnose -Wuse-after-free early

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109141 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:adb70c2d1060b3e8d410b45c698796c5d88818b3 commit r13-6706-gadb70c2d1060b3e8d410b45c698796c5d88818b3 Author: Richard Biener Date:

[Bug c/109123] Bogus warning: pointer used after 'realloc' -Wuse-after-free with -O2

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109123 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0a07bfad12530bca5dc5188057ad910198780dbc commit r13-6707-g0a07bfad12530bca5dc5188057ad910198780dbc Author: Richard Biener Date:

[Bug middle-end/104075] bogus/missing -Wuse-after-free

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104075 Bug 104075 depends on bug 109141, which changed state. Bug 109141 Summary: failure to diagnose -Wuse-after-free early https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109141 What|Removed |Added

[Bug tree-optimization/109141] failure to diagnose -Wuse-after-free early

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109141 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/105406] [11/12/13 Regression] coroutines: since 11.3 co_await attempts to copy a move-only value when await_transform(T &) exists

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

[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++

[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 target/108927] error: too few arguments to function 'long unsigned int __riscv_vsetvlmax_e8mf8(void)'

2023-03-16 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108927 --- Comment #4 from Mathieu Malaterre --- > This issue should be fixed since patch is merged. Shouldn't you also include a reference / mark the bug as assigned+confirmed ?

[Bug middle-end/109153] missed vector constructor optimizations

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

[Bug middle-end/109153] missed vector constructor optimizations

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109153 --- Comment #2 from Richard Biener --- On the GIMPLE side we should canonicalize here I think, at which point inserts into a splatted vector become more profitable depends? _4 = VEC_PERM_EXPR ; _5 = VEC_PERM_EXPR ; _6 = {_4, _5}; we

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

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

[Bug middle-end/109153] missed vector constructor optimizations

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109153 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > On the GIMPLE side we should canonicalize here I think, at which point > inserts into a splatted vector become more profitable depends? > > _4 =

[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 #3 from bugreporter66 at gmail dot com --- Created attachment 54680 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54680=edit binaries and output files as text

[Bug d/109144] d: Closure fields don't get same alignment as local variable

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109144 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:46c4be98d1e759a406069487e5dbaad0346e7e7d commit r13-6710-g46c4be98d1e759a406069487e5dbaad0346e7e7d Author: Iain Buclaw Date: Thu

[Bug d/109144] d: Closure fields don't get same alignment as local variable

2023-03-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109144 ibuclaw at gcc dot gnu.org changed: What|Removed |Added Version|11.0|12.0

[Bug c/109155] New: A note is diagnosed, without any warning or error

2023-03-16 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109155 Bug ID: 109155 Summary: A note is diagnosed, without any warning or error Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[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 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 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 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 d/109144] d: Closure fields don't get same alignment as local variable

2023-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109144 --- Comment #2 from CVS Commits --- The releases/gcc-12 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:2ca6dba641fa56ce70c3e1c78729389b3ed40076 commit r12-9269-g2ca6dba641fa56ce70c3e1c78729389b3ed40076 Author: Iain Buclaw

[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 jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109004 --- Comment #8 from Jakub Jelinek --- The program uses xsmincdp and xsmaxcdp instructions and it feels as if qemu implements the latter exactly the same as the former. So, I guess simpler testcase would be compile with -O2 -mcpu=power9

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

2023-03-16 Thread pgodbole at nvidia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Bug ID: 109154 Summary: [13 regression] aarch64 -mcpu=neoverse-v1 microbude performance regression Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c/106947] [12/13 Regression] -Waddress + bool + pragma generates meaningless diagnostic

2023-03-16 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106947 Martin Liška changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #6

[Bug c/109155] A note is diagnosed, without any warning or error

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

[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 #9 from bugreporter66 at gmail dot com --- Created attachment 54683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54683=edit sample_p64

[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/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 target/109082] emmintrin.h:1624:16: error: argument 3 must be a literal between 0 and 15, inclusive

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

[Bug fortran/109148] ICE with explicit-/assumed-size arrays and CLASS

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

[Bug target/103784] suboptimal code for returning bool value on target ppc

2023-03-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103784 --- Comment #14 from Richard Biener --- I get, for -mcpu=power9 or power10 foo: .LFB0: .cfi_startproc cmpwi 0,3,2 bgt 0,.L3 cmpwi 0,4,9 li 3,1 isel 3,0,3,1 blr .p2align 4,,15 .L3:

[Bug middle-end/109153] missed vector constructor optimizations

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

[Bug middle-end/109153] New: missed vector constructor optimizations

2023-03-16 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109153 Bug ID: 109153 Summary: missed vector constructor optimizations Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[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 #4 from bugreporter66 at gmail dot com --- The test prints two array values (farr[11], farr[3]) and then calculates and prints their respective minimum and maximum values. The first line (unoptimized) is a correct behavior (only

[Bug testsuite/109146] Tail call prevention in frame-address.c is not correct

2023-03-16 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 --- Comment #2 from David Spickett --- A detail that might be useful. The callee function uses UB because it compares pointers that don't point to the same object. https://www.open-std.org/jtc1/sc22/WG14/www/docs/n1570.pdf 6.5.8 Relational

[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 jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109004 Jakub Jelinek changed: What|Removed |Added Resolution|--- |WORKSFORME

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

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

[Bug c/109151] UBsan misses a divide-by-zero

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

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-16 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #13 from rguenther at suse dot de --- On Thu, 16 Mar 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 > > --- Comment #12 from Jakub Jelinek --- > Ah, but > 1690 if (flag_checking >

[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 #5 from bugreporter66 at gmail dot com --- The exact command line used to produce the new binaries (added -static): ubuntu-mate@ubuntu-mate:~/Downloads/bug$ powerpc64le-linux-gnu-g++ -o test_p64-test{0,.ii} -mcpu=power9 -O0 -fpie

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 --- Comment #12 from Jakub Jelinek --- Ah, but 1690 if (flag_checking 1691 && (lra_assignment_iter_after_spill 1692 > LRA_MAX_ASSIGNMENT_ITERATION_NUMBER)) 1693internal_error 1694 ("maximum number of

  1   2   >