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

2023-03-15 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&action=edit gcc13-pr109011-3.patch Fix an ICE when gimple_call_lhs (call_stmt) is NULL in vect_recog_ctz_ffs_pattern, recog

[Bug c++/103871] [11/12 Regression] co_await causes build error

2023-03-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 Jason Merrill changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression] co_await

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

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

[Bug rtl-optimization/55278] [10/11/12/13 Regression] Botan performance regressions, other compilers generate better code than gcc

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55278 --- Comment #32 from Andrew Pinski --- Does anyone understand the state of this bug report? Is the performance back up in recent releases?

[Bug middle-end/46555] [10/11/12/13 Regression] PHI RTL expansion leads to CSiBE regression

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46555 --- Comment #17 from Andrew Pinski --- Looks like this was fixed in GCC 12: [local count: 344921666]: # _30 = PHI <-1(12), 0(17)> tbuf ={v} {CLOBBER(eol)}; return _30;

[Bug rtl-optimization/64081] [10/11/12/13 Regression] r217828 prevents RTL loop unroll

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #68 from And

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

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107630 Gaius Mulley changed: What|Removed |Added Attachment #54676|0 |1 is obsolete|

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

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107630 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/32306] [10/11/12/13 Regression] redundant && || not eliminated

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32306 --- Comment #42 from Andrew Pinski --- (In reply to Richard Biener from comment #19) > Shorter testcase, compilable and to the point. We are not able to CSE > the b1 && ... && b8 sequence because we produce control-flow for it > during gimplific

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

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107630 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #1

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2023-03-15 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #22 from Avi Kivity --- This is wonderful, thank you.

[Bug c++/103871] [11/12/13 Regression] co_await causes build error

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #18 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ea4dd8f512979db247c54d6b41377bb73699bcd7 commit r13-6702-gea4dd8f512979db247c54d6b41377bb73699bcd7 Author: Jason Merrill Date: W

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #21 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ea4dd8f512979db247c54d6b41377bb73699bcd7 commit r13-6702-gea4dd8f512979db247c54d6b41377bb73699bcd7 Author: Jason Merrill Date: We

[Bug analyzer/109097] No SARIF output happens on an ICE

2023-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109097 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug analyzer/109097] No SARIF output happens on an ICE

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109097 --- Comment #1 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:79aaba0a71f34ac1ac2c4cec907ff74740a6cf1a commit r13-6701-g79aaba0a71f34ac1ac2c4cec907ff74740a6cf1a Author: David Malcolm Date: W

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

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:79aaba0a71f34ac1ac2c4cec907ff74740a6cf1a commit r13-6701-g79aaba0a71f34ac1ac2c4cec907ff74740a6cf1a Author: David Malcolm Date: W

[Bug target/108933] [10/11/12/13 Regression] Missing rev16 detection

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108933 --- Comment #3 from Andrew Pinski --- Also note the arm fix will be very similar to what was done for aarch64 just I have no way to test the change so I didn't implement it ...

[Bug target/108933] [10/11/12/13 Regression] Missing rev16 detection

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108933 Andrew Pinski changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12/13 Regression]

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

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109151 Andrew Pinski changed: What|Removed |Added Known to fail||4.9.0 Status|UNCONFIRMED

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

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109151 Andrew Pinski changed: What|Removed |Added Component|sanitizer |c --- Comment #1 from Andrew Pinski --

[Bug sanitizer/109151] New: UBsan misses a divide-by-zero

2023-03-15 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109151 Bug ID: 109151 Summary: UBsan misses a divide-by-zero Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

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

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #8 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:8f1711ef3486b0727ccf6b5aabddda5c7d986457 commit r13-6700-g8f1711ef3486b0727ccf6b5aabddda5c7d986457 Author: Gaius Mulley Date: Wed

[Bug libstdc++/109150] std::fill should use __gnu_cxx::__is_scalar overloads for all scalars

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109150 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/109150] New: std::fill should use __gnu_cxx::__is_scalar overloads for all scalars

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109150 Bug ID: 109150 Summary: std::fill should use __gnu_cxx::__is_scalar overloads for all scalars Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-o

[Bug fortran/106945] [10/11/12/13 Regression] ICE: 'verify_gimple' failed

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106945 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:82ca86233da61e868a91b6132191148230d56ab0 commit r12-9266-g82ca86233da61e868a91b6132191148230d56ab0 Author: Harald Anlauf

[Bug fortran/104332] [10/11/12/13 Regression] ICE in resolve_symbol, at fortran/resolve.cc:15815

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104332 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:21139744aff3a9cb751f046755abb02ece5b3dcf commit r12-9265-g21139744aff3a9cb751f046755abb02ece5b3dcf Author: Harald Anlauf

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

2023-03-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38220 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to Joost VandeVondele from comment #6) > ifort rejects this code, gfortran and cft compile but trigger the runtime > abort, pgf90 compiles and runs without abort. Actually that code has

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

2023-03-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109149 Bug ID: 109149 Summary: new test case gcc.dg/vect/pr108950.c from r12-9262-gf4e4108dd00508 fails Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: nor

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

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #7

[Bug fortran/58331] [OOP] Bogus rank checking with explicit-/assumed-size arrays and CLASS

2023-03-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58331 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #9) > Besides intrinsic types -> class(*), we should also check check > type(t) -> ('class(t)' and 'class(*)') I've opened pr109148 for related tests and i

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

2023-03-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109148 Bug ID: 109148 Summary: ICE with explicit-/assumed-size arrays and CLASS Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/109093] [13 regression] csmith: a February runtime bug ?

2023-03-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #21 from H.J. Lu --- REG_EQUIV is added by IRA: if (DF_REG_DEF_COUNT (regno) == 1 && note && !rtx_varies_p (XEXP (note, 0), 0) && (!may_trap_or_fault_p (XEXP (note, 0))

[Bug target/109093] [13 regression] csmith: a February runtime bug ?

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #20 from Jakub Jelinek --- (In reply to H.J. Lu from comment #19) > .DEFERRED_INIT has > > insn 259 261 297 4 (set (reg/f:DI 144) > (plus:DI (reg/f:DI 19 frame) > (const_int -32 [0xffe0]))) 241 {*lea

[Bug c++/103871] [11/12/13 Regression] co_await causes build error

2023-03-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #17 from Jason Merrill --- Iain, do you want to attach your WIP here so someone else can finish it up? Or do you expect to finish it within the next month?

[Bug target/109093] [13 regression] csmith: a February runtime bug ?

2023-03-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109093 --- Comment #19 from H.J. Lu --- .DEFERRED_INIT has insn 259 261 297 4 (set (reg/f:DI 144) (plus:DI (reg/f:DI 19 frame) (const_int -32 [0xffe0]))) 241 {*leadi} (expr_list:REG_EQUAL (plus:DI (reg/f:DI 19 fra

[Bug fortran/58331] [OOP] Bogus rank checking with explicit-/assumed-size arrays and CLASS

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58331 --- Comment #10 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:901edd99b44976b3c2b13a7d525d9e315540186a commit r13-6698-g901edd99b44976b3c2b13a7d525d9e315540186a Author: Harald Anlauf Date: T

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109113 --- Comment #10 from Jakub Jelinek --- Created attachment 54674 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54674&action=edit gcc13-pr109113-tests.patch I started writing tests related to this PR before running into the above issue, wh

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

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

[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-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #9 from Mikael Pettersson --- I can reproduce all the way down to gcc-4.7.4, gcc-4.6.4 doesn't support -mcpu=niagara4.

[Bug sanitizer/108060] [10/11 Regression] UBsan missed an out-of-bound bug at -O0 since r7-1900-g8a1b7b7fd75a3847

2023-03-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108060 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Summary|[10/11/12 Regr

[Bug sanitizer/109050] UBsan failed to detect out-of-bound at -O0/1/2/s

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109050 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:94af33aa4da07269cb4a6645da9f7ddf8d1bad69 commit r12-9264-g94af33aa4da07269cb4a6645da9f7ddf8d1bad69 Author: Marek Polacek

[Bug sanitizer/108060] [10/11/12 Regression] UBsan missed an out-of-bound bug at -O0 since r7-1900-g8a1b7b7fd75a3847

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108060 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:94af33aa4da07269cb4a6645da9f7ddf8d1bad69 commit r12-9264-g94af33aa4da07269cb4a6645da9f7ddf8d1bad69 Author: Marek Polacek

[Bug ipa/96059] ICE: in remove_unreachable_nodes, at ipa.c:575 with -fdevirtualize-at-ltrans

2023-03-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96059 --- Comment #5 from Martin Jambor --- Which means that the following (untested) patch might be the correct fix: diff --git a/gcc/ipa.cc b/gcc/ipa.cc index 5c15b60a603..c2d94163dc2 100644 --- a/gcc/ipa.cc +++ b/gcc/ipa.cc @@ -199,6 +199,11 @@ wal

[Bug c++/107280] [10/11 Regression] ICE: tree check: expected constructor, have view_convert_expr in cxx_eval_store_expression, at cp/constexpr.cc:5928

2023-03-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107280 Marek Polacek changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11 Regression] ICE:

[Bug c++/107280] [10/11/12/13 Regression] ICE: tree check: expected constructor, have view_convert_expr in cxx_eval_store_expression, at cp/constexpr.cc:5928

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107280 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a1ebe3f7f9c14e66df2ae56138c495cad33c7ee4 commit r12-9263-ga1ebe3f7f9c14e66df2ae56138c495cad33c7ee4 Author: Marek Polacek

[Bug c++/107280] [10/11/12/13 Regression] ICE: tree check: expected constructor, have view_convert_expr in cxx_eval_store_expression, at cp/constexpr.cc:5928

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107280 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:be20dcc359bcc4677c5b9ce011d3cd7b4ce94a64 commit r13-6697-gbe20dcc359bcc4677c5b9ce011d3cd7b4ce94a64 Author: Marek Polacek Date: Fr

[Bug ipa/96059] ICE: in remove_unreachable_nodes, at ipa.c:575 with -fdevirtualize-at-ltrans

2023-03-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96059 --- Comment #4 from Martin Jambor --- ...and Honza correctly guessed that it is ICF that merges the two functions (virtual and non-virtual) and that is how we ended up in the situation that the devirtualizing machinery returns a non-virtual funct

[Bug ipa/96059] ICE: in remove_unreachable_nodes, at ipa.c:575 with -fdevirtualize-at-ltrans

2023-03-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96059 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment #

[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-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #8 from Andrew Pinski --- (In reply to Mikael Pettersson from comment #7) > With -O2 -ftree-vectorize -mcpu=niagara4 a bisect between 9.5.0 (good) and > 10.4.0 (bad) found > > 6271dd984d7f920d4fb17ad37af6a1f8e6b796dc is the first ba

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 --- Comment #6 from Jason Merrill --- Created attachment 54673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54673&action=edit first try Another approach would be to treat the expressions as different for the *_specializations hash table

[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-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #7 from Mikael Pettersson --- With -O2 -ftree-vectorize -mcpu=niagara4 a bisect between 9.5.0 (good) and 10.4.0 (bad) found 6271dd984d7f920d4fb17ad37af6a1f8e6b796dc is the first bad commit commit 6271dd984d7f920d4fb17ad37af6a1f8e6b7

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

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81323 --- Comment #5 from Jakub Jelinek --- *** Bug 109147 has been marked as a duplicate of this bug. ***

[Bug testsuite/109147] Missing IPA-VRP for return values

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109147 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug testsuite/109147] Missing IPA-VRP for return values

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109147 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Resolution|DUPLICATE

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

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81323 --- Comment #4 from Jakub Jelinek --- 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 any. Though, doing that in the range means that we wo

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

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

[Bug target/81313] Bad stack realignment code with -mno-accumulate-outgoing-args

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

[Bug testsuite/109147] Missing IPA-VRP for return values

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109147 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81323 --- Comment #2 from Jakub Jelinek --- Another testcase from a different PR: __attribute__((noinline)) static int foo (int a, int b) { return a == b; } int bar (int a, int b) { return foo (a, b) != 0; } __attribute__((noinline)) static int

[Bug testsuite/109147] Missing IPA-VRP for return values

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109147 --- Comment #1 from Andrew Pinski --- Isn't this a dup of bug 81323 ?

[Bug testsuite/109147] New: Missing IPA-VRP for return values

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109147 Bug ID: 109147 Summary: Missing IPA-VRP for return values Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite

[Bug go/104290] [12/13 Regression] trunk 20220214 fails to build libgo on i686-gnu

2023-03-15 Thread svante.signell at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104290 --- Comment #34 from Svante Signell --- This is incredible. Now Debian forgot to add the spilt-stack patch for GNU/Hurd for gcc-13 (1:20230315-1). But it shouldn't be needed, it should have been upstreamed a long time ago. The patch is

[Bug target/109116] vector_pair register allocation bug

2023-03-15 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109116 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Andrew Pinski changed: What|Removed |Added Blocks||107430 Keywords|

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 --- Comment #4 from Xi Ruoyao --- template using data_type = decltype([](){return 1;}()); template auto get_precision(T v) { auto tmp = *(data_type *)&v; return tmp; } Clang and MSVC accept this with C++20, though I'm not sure if it's re

[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-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 --- Comment #6 from Mikael Pettersson --- With -O2 -ftree-vectorize -mcpu=niagara4 the ICE reproduces with gcc-10.4.0 but not with gcc-9.5.0.

[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-15 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Jonathan Wakely changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

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

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 --- Comment #1 from David Spickett --- Correction. https://godbolt.org/z/fW5nsWE5e shows the issue when "!=" is used, the previous link used "==" instead.

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

2023-03-15 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109146 Bug ID: 109146 Summary: Tail call prevention in frame-address.c is not correct Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug analyzer/105909] RFE: SARIF output could contain metadata about limitations of the analysis

2023-03-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105909 --- Comment #1 from David Malcolm --- Perhaps via 3.58 notification object: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317894 which: "describes a condition encountered during the execution of an analysis tool wh

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

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Ever confirmed|0

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 --- Comment #5 from Jakub Jelinek --- We don't instantiate in that case, just look up a specialization which might be or might not be later instantiated (which is when it is diagnosed). One way to fix this would be to drop locations from the exp

[Bug driver/109135] Wrong make utility called with LTO testsuite

2023-03-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 --- Comment #7 from Steve Kargl --- On Wed, Mar 15, 2023 at 08:35:41AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 > > --- Comment #6 from Richard Biener --- > (In reply to Steve Kargl from co

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-03-15 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 --- Comment #4 from dave.anglin at bell dot net --- I currently have 2.36.

[Bug target/109072] [12/13 Regression] SLP costs for vec duplicate too high since g:4963079769c99c4073adfd799885410ad484cbbe

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109072 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/109083] [10/11/12/13 Regression] Incorrect static_assert shown in diagnostics

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109083 --- Comment #4 from Richard Biener --- I wonder why we instantiate from unused_function (but don't diagnose) at all?

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

2023-03-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109145 Bug ID: 109145 Summary: new test case gcc.dg/tree-ssa/forwprop-39.c from r13-6624-geb337d28c32b1b fails Product: gcc Version: 13.0 Status: UNCONFIRMED Severity

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

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

2023-03-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109113 --- Comment #8 from Jakub Jelinek --- And C++ ICEs on this starting with r8-4783-gd68ddd2b35078ab61f164b268b (again, accepts the g case). C++ used to ICE on struct C i = { .e = { { .b = 0, .c = { 1 } }, f } }; since that revision but since r8-53

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

2023-03-15 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Gaius Mulley --- > readreal.mod requires the input file testnumber to be in the same directory as > the executable invocation. > > Or manually create a text file c

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

2023-03-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109144 Bug ID: 109144 Summary: d: Closure fields don't get same alignment as local variable Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

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

2023-03-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109125 --- Comment #5 from Gaius Mulley --- readreal.mod requires the input file testnumber to be in the same directory as the executable invocation. Or manually create a text file containing: cat << EOF > testnumber 12.3456 EOF

[Bug c/109113] [10/11/12/13 Regression] internal compiler error: in output_constructor_regular_field, at varasm.cc:5521

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

[Bug c++/96164] Constraints and explicit template instantiation

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96164 Patrick Palka changed: What|Removed |Added CC||ryan.burn at gmail dot com --- Comment #

[Bug c++/67491] [meta-bug] concepts issues

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 68608, which changed state. Bug 68608 Summary: [concepts] ICE with explicit class instantiation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68608 What|Removed |Added ---

[Bug c++/68608] [concepts] ICE with explicit class instantiation

2023-03-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68608 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 --- Comment #2 from steve02081504 --- Created attachment 54672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54672&action=edit cpp file Here's the pre-processed file you want,hope it helps

[Bug target/109130] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with PGO, LTO, -Ofast and -march=native

2023-03-15 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109130 --- Comment #1 from Tamar Christina --- I can't reproduce that. on a Neoverse-N1 I see between those two commits: ./bench-compare.sh 2fc55f51f99 bad177e8487 A 1457 files D 0 files M 0 files Extracted 'loose/2fc55f51f99:2fc55f5

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread s at stu dot scot via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #6 from stu t --- Thank you for looking into this! :)

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Jason Merrill changed: What|Removed |Added Summary|[11/12/13 regression] ICE |[11/12 regression] ICE

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5ccbf162511b896672a72934c3cafd37a42d6438 commit r13-6692-g5ccbf162511b896672a72934c3cafd37a42d6438 Author: Jason Merrill Date: Tu

[Bug c++/58538] Injected class-name treated as type-name instead of template-name when used as a template-argument for a template template-parameter

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58538 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:40c1352c5a4530350012d6a922435cf491663daa commit r13-6694-g40c1352c5a4530350012d6a922435cf491663daa Author: Jason Merrill Date: Tue

[Bug c++/104107] [10 Regression] parsing crashes on class template instantiation since r9-6853-g17838af989014f5e

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104107 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: F

[Bug c++/95036] [10 Regression] ICE with variadic template template parameters

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: Fri

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-03-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3ea64aad06a2b32739028bae03b9b9a5691d2d30 commit r13-6693-g3ea64aad06a2b32739028bae03b9b9a5691d2d30 Author: Jason Merrill Date: Fr

[Bug tree-optimization/109143] PTA compile-time hog with many calls

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/109143] New: PTA compile-time hog with many calls

2023-03-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109143 Bug ID: 109143 Summary: PTA compile-time hog with many calls Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimi

[Bug target/107453] [13 Regression] New stdarg tests in r13-3549-g4fe34cdcc80ac2 fail

2023-03-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107453 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #9 fr

[Bug c++/109142] auto tmp=*(data_type*)&v: expected primary-expression before ')' token

2023-03-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109142 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-03-15 Ever confirmed|0

  1   2   >