[Bug c++/110137] implement clang -fassume-sane-operator-new

2023-08-01 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 --- Comment #3 from AK --- 1. clang also has noalias on nothrow versions of operator new. will `-fassume-sane-operator-new` enable that as well? 2. as per: http://eel.is/c++draft/basic.stc.dynamic#allocation-2 """If the request succeeds, the

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #19 from Hao Liu --- > Hi, here's the reduced case Hi Tarmar, thanks for the case. I've modified it to reproduce the ICE without LTO and have updated the patch.

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2023-08-01 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 Julian Waters changed: What|Removed |Added CC||tanksherman27 at gmail dot com ---

[Bug rtl-optimization/110867] [14 Regression] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-01 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- (In reply to prathamesh3492 from comment #2) > (In reply to Stefan Schulze Frielinghaus from comment #1) > > The optimization introduced by r14-2879-g7cdd0860949c6c hits during > >

[Bug modula2/110161] Comparing a typed procedure variable to 0 gives ICE or assertions

2023-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110161 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/110161] Comparing a typed procedure variable to 0 gives ICE or assertions

2023-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110161 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:26b627810a2e307d0eacf4bf290daf548feb517c commit r13-7680-g26b627810a2e307d0eacf4bf290daf548feb517c Author: Gaius Mulley

[Bug modula2/110161] Comparing a typed procedure variable to 0 gives ICE or assertions

2023-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110161 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:8bf244e32a0d505720396fbb7df26f824c7f77eb commit r14-2911-g8bf244e32a0d505720396fbb7df26f824c7f77eb Author: Gaius Mulley Date:

[Bug modula2/110161] Comparing a typed procedure variable to 0 gives ICE or assertions

2023-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110161 --- Comment #2 from Gaius Mulley --- Created attachment 55674 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55674=edit Proposed fix Here is a proposed patch which will be applied (if) the bootstrap succeeds.

[Bug middle-end/109986] missing fold (~a | b) ^ a => ~(a & b)

2023-08-01 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109986 Gabriel Ravier changed: What|Removed |Added CC||gabravier at gmail dot com ---

[Bug c++/110872] New: coroutine postcondition is not evaluated

2023-08-01 Thread akrzemi1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110872 Bug ID: 110872 Summary: coroutine postcondition is not evaluated Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/110871] New: coroutine precondition should be evaluated before the initial suspend

2023-08-01 Thread akrzemi1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110871 Bug ID: 110871 Summary: coroutine precondition should be evaluated before the initial suspend Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/88286] [OOP] gfortran reports conflicting intent(in) with an intent(in) declared class variable

2023-08-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88286 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to work||12.3.0, 13.1.0, 14.0

[Bug rtl-optimization/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-08-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #6 from Patrick O'Neill --- No new regressions in the testsuite - that fix will work!

[Bug fortran/88420] Fortran OpenACC "Clause SEQ conflicts with INDEPENDENT"

2023-08-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88420 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #4 from

[Bug middle-end/110869] [14 regression] ICE in decompose, at rtl.h:2297

2023-08-01 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Andrew Pinski --- > Can you test the patch in bug 110867 comment #1 to see if fixes the issue here > too? Sure: sparc-sun-solaris2.11 bootstrap in progress...

[Bug target/53935] [avr][c++] missing warning for non-const data in progmem

2023-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53935 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/96055] avr: atmega324pb not supported

2023-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96055 Georg-Johann Lay changed: What|Removed |Added Known to work||12.1.0 Resolution|---

[Bug rtl-optimization/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-08-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #5 from Patrick O'Neill --- The fix resolves the bootstrap error. Still running the testsuite.

[Bug rtl-optimization/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-08-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #4 from Patrick O'Neill --- Yep! Running bootstrap+regtests with the fix now.

[Bug modula2/110161] Comparing a typed procedure variable to 0 gives ICE or assertions

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

[Bug rtl-optimization/110864] [14 Regression] ICE in combine.cc causes stage2 build failure on RISCV

2023-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110864 --- Comment #3 from Andrew Pinski --- Can you test the patch in bug 110867 comment #1 to see if fixes the issue here too?

[Bug middle-end/110869] [14 regression] ICE in decompose, at rtl.h:2297

2023-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869 --- Comment #1 from Andrew Pinski --- Can you test the patch in bug 110867 comment #1 to see if fixes the issue here too?

[Bug rtl-optimization/110867] [14 Regression] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 Andrew Pinski changed: What|Removed |Added Keywords||build, ice-on-valid-code

[Bug modula2/110633] Using an unknown identifier as argument to ORD results in ICE

2023-08-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110633 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99599] [11/12/13/14 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern

2023-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 Patrick Palka changed: What|Removed |Added CC||waffl3x at protonmail dot com ---

[Bug c++/110291] [11/12/13/14 Regression] constraint on friend operator template causes bizarre duplication of RHS template parameter that is passed to the requires expression

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

[Bug modula2/110633] Using an unknown identifier as argument to ORD results in ICE

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

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2023-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Patrick Palka changed: What|Removed |Added Known to work|12.1.0 | Summary|[13/14 Regression]

[Bug c++/110822] [13/14 Regression] ICE on constexpr initialized with non-constant expression also accepts-invalid

2023-08-01 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/110805] g++ crash on modules with exported class providing string constant with obscure content

2023-08-01 Thread jo.hiller+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110805 --- Comment #3 from Jochen Hiller --- > Gcc's module support is still experimental. Sure. Nevertheless reporting bugs may help to come from experimental to stable. I mainly do prototype development using C++ modules with Clang 16, but trying

[Bug c++/110805] g++ crash on modules with exported class providing string constant with obscure content

2023-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110805 --- Comment #2 from Andrew Pinski --- Gcc's module support is still experimental.

[Bug c++/110870] g++ internal compiler error on modules with precompiled headerfile "string"

2023-08-01 Thread jo.hiller+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110870 --- Comment #2 from Jochen Hiller --- Sorry, typo: is plog 1.1.9, not 1.1.19, see https://github.com/SergiusTheBest/plog/releases/tag/1.1.9 * happens with plog-1.1.9, but seems unrelated

[Bug c++/110805] g++ crash on modules with exported class providing string constant with obscure content

2023-08-01 Thread jo.hiller+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110805 --- Comment #1 from Jochen Hiller --- Side-note: same code does compile and execute fine with clang 16.0.6

[Bug c++/110870] g++ internal compiler error on modules with precompiled headerfile "string"

2023-08-01 Thread jo.hiller+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110870 --- Comment #1 from Jochen Hiller --- Side-note: same code does compile fine with clang 16.0.6

[Bug c++/110870] New: g++ internal compiler error on modules with precompiled headerfile "string"

2023-08-01 Thread jo.hiller+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110870 Bug ID: 110870 Summary: g++ internal compiler error on modules with precompiled headerfile "string" Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/110869] [14 regression] ICE in decompose, at rtl.h:2297

2023-08-01 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110869 Rainer Orth changed: What|Removed |Added Target Milestone|--- |14.0

[Bug middle-end/110869] New: [14 regression] ICE in decompose, at rtl.h:2297

2023-08-01 Thread ro at gcc dot gnu.org via Gcc-bugs
-solaris2.11 Between 20230731 (bf67bf4880ce5be0b6e48c7c35828528b7be12ed) and 20230801 (a5451b8b9f3a6ab0cb1a60bc8b0b76cca46b080f), Solaris/SPARC bootstrap broke e.g. compiling cp/lex.cc in stage 2: during RTL pass: combine /vol/gcc/src/hg/master/local/gcc/cp/lex.cc: In function ‘void

[Bug rtl-optimization/110867] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-01 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- (In reply to Stefan Schulze Frielinghaus from comment #1) > The optimization introduced by r14-2879-g7cdd0860949c6c hits during > combination of insn > > (insn 31 3 32 2 (set (reg:SI 118

[Bug modula2/110865] Unable to access copied const array

2023-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110865 --- Comment #5 from CVS Commits --- The releases/gcc-13 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:860b0f0ef787f756c0e293671b4c4622dff63a79 commit r13-7679-g860b0f0ef787f756c0e293671b4c4622dff63a79 Author: Gaius Mulley

[Bug tree-optimization/110852] [14 Regression] ICE: in get_predictor_value, at predict.cc:2695 with -O -fno-tree-fre and __builtin_expect()

2023-08-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110852 --- Comment #1 from Jan Hubicka --- This is likely g:eab57b825bcc350e9ff44eb2fa739a80199d9bb1 which fixed prediction order and uncovered latent bug in combininig predictions with known probabilities. I will take a look.

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #18 from Tamar Christina --- Hi, here's the reduced case: > cat analyse.i double x264_weights_analyse___trans_tmp_1; float x264_weights_analyse_ref_mean; x264_weights_analyse() { x264_weights_analyse___trans_tmp_1 =

[Bug target/105523] Wrong warning array subscript [0] is outside array bounds

2023-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 --- Comment #34 from Georg-Johann Lay --- @Senthil: Can this PR be closed? Or will it be backported?

[Bug libstdc++/110862] format out of bands read on format string "{0:{0}"

2023-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.3 Last reconfirmed|

[Bug target/110220] [13/14 Regression] ICE in patch_jump_insn, at cfgrtl.cc:1295 - avr/xmega

2023-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110220 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/110220] [13/14 Regression] ICE in patch_jump_insn, at cfgrtl.cc:1295 - avr/xmega

2023-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110220 --- Comment #9 from CVS Commits --- The releases/gcc-13 branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:07573fc45a1fefa7e5f03e1930b188f36eba3a11 commit r13-7678-g07573fc45a1fefa7e5f03e1930b188f36eba3a11 Author:

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-08-01 Thread aaron at aaronballman dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #10 from Aaron Ballman --- (In reply to Jonathan Wakely from comment #9) > Personally I'd like it diagnosed in GNU modes, but this is pretty much the > poster child for "conforming extension diagnosed with -pedantic" so I can > see

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-08-01 Thread Changbin Du via Gcc-bugs
On Mon, Jul 31, 2023 at 08:55:35PM +0800, Changbin Du wrote: > The result (p-core, no ht, no turbo, performance mode): > > O2 O3 PGO > cycles 2,581,832,749 8,638,401,568 9,394,200,585 >

[Bug ipa/110378] IPA-SRA for destructors

2023-08-01 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110378 --- Comment #5 from Martin Jambor --- I have proposed a patch addressing the simplest case of the three on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625895.html

[Bug libstdc++/110860] std::format("{:f}",2e304) invokes undefined behaviour

2023-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110860 --- Comment #3 from Jonathan Wakely --- std::abs

[Bug libstdc++/110860] std::format("{:f}",2e304) invokes undefined behaviour

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

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-08-01 Thread Changbin Du via Gcc-bugs
On Tue, Aug 01, 2023 at 10:44:02AM +0200, Jan Hubicka wrote: > > > If I comment it out as above patch, then O3/PGO can get 16% and 12% > > > performance > > > improvement compared to O2 on x86. > > > > > > O2 O3 PGO > > > cycles

[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-08-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 --- Comment #9 from Jonathan Wakely --- Personally I'd like it diagnosed in GNU modes, but this is pretty much the poster child for "conforming extension diagnosed with -pedantic" so I can see the argument for not diagnosing it by default.

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-08-01 Thread Changbin Du via Gcc-bugs
On Mon, Jul 31, 2023 at 03:53:26PM +0200, Richard Biener wrote: [snip] > > The main difference in the compilation output about code around the > > miss-prediction > > branch is: > > o In O2: predicated instruction (cmov here) is selected to eliminate above > > branch. cmov is true better

[Bug rtl-optimization/110867] ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-01 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 Stefan Schulze Frielinghaus changed: What|Removed |Added CC||stefansf at linux dot

[Bug libgcc/110868] crossback build fails for x86_64-pc-linux-gnu due to check on build environment

2023-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110868 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug rtl-optimization/110220] [13/14 Regression] ICE in patch_jump_insn, at cfgrtl.cc:1295 - avr/xmega

2023-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110220 --- Comment #8 from CVS Commits --- The master branch has been updated by Georg-Johann Lay : https://gcc.gnu.org/g:1d379bb1191390c3be1fdd0f2fb8e8b1e2c44cd7 commit r14-2907-g1d379bb1191390c3be1fdd0f2fb8e8b1e2c44cd7 Author: Georg-Johann Lay

[Bug preprocessor/80753] __has_include and __has_include_next taints subsequent I/O errors

2023-08-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug preprocessor/110226] __has_include on a header causes GCC to ignore an non-existent header afterwards

2023-08-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110226 Bug 110226 depends on bug 80753, which changed state. Bug 80753 Summary: __has_include and __has_include_next taints subsequent I/O errors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 What|Removed

[Bug tree-optimization/106293] [13/14 Regression] 456.hmmer at -Ofast -march=native regressed by 19% on zen2 and zen3 in July 2022

2023-08-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106293 --- Comment #23 from Jan Hubicka --- Thanks, I think I will need to work out the remaining vectorizer problems. One issue seems to be interaction with loop distribution. Loop distribution seems to intorduce alias checks that are later removed

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #17 from Hao Liu --- > Thanks! I can reduce a testcase for you if you want :) That will be very helpful. Thanks.

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #16 from Tamar Christina --- (In reply to Hao Liu from comment #15) > Ah, I see. > > I've sent out a quick fix patch for code review. I'll investigate more > about this and find out the root cause. Thanks! I can reduce a testcase

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread hliu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #15 from Hao Liu --- Ah, I see. I've sent out a quick fix patch for code review. I'll investigate more about this and find out the root cause.

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #14 from Tamar Christina --- Or rather, info_for_reduction looks at the original statement if it's a pattern, whereas vect_is_reduction only looks at the direct statement. You'll probably want to check vect_orig_stmt if using

[Bug libgcc/110868] crossback build fails for x86_64-pc-linux-gnu due to check on build environment

2023-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110868 --- Comment #2 from cqwrteur --- make[5]: Leaving directory '/home/cqwrteur/toolchains_build/gcc_build/x86_64-w64-mingw32/x86_64-pc-linux-gnu/artifacts/hostbuild/x86_64-w64-mingw32/gcc/x86_64-pc-linux-gnu/32/libgcc' make[4]: Leaving directory

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-01 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org ---

[Bug libgcc/110868] crossback build fails for x86_64-pc-linux-gnu due to check on build environment

2023-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110868 --- Comment #1 from cqwrteur --- Created attachment 55670 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55670=edit config

[Bug libgcc/110868] New: crossback build fails for x86_64-pc-linux-gnu due to check on build environment

2023-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110868 Bug ID: 110868 Summary: crossback build fails for x86_64-pc-linux-gnu due to check on build environment Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/110857] aarch64-linux-gnu profiledbootstrap broken

2023-08-01 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110857 --- Comment #1 from Jan Hubicka --- The sanity check fires since profile count involved are not compatible that should never happen within a single function. Would it be possible to dump them? From debugger one should be able to call p

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-08-01 Thread Jan Hubicka via Gcc-bugs
> > If I comment it out as above patch, then O3/PGO can get 16% and 12% > > performance > > improvement compared to O2 on x86. > > > > O2 O3 PGO > > cycles 2,497,674,824 2,104,993,224 2,199,753,593 > > instructions

[Bug tree-optimization/110838] [14 Regression] wrong code on x365-3.5, -O3, sign extraction

2023-08-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110838 --- Comment #7 from Sergei Trofimovich --- Tested https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625868.html against x265-3.5 test suite. All passes. Thank you!

[Bug target/43644] __uint128_t missed optimizations.

2023-08-01 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43644 jbeulich at suse dot com changed: What|Removed |Added CC||jbeulich at suse dot com ---

[Bug rtl-optimization/110867] New: ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c

2023-08-01 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110867 Bug ID: 110867 Summary: ICE in combine after 7cdd0860949c6c3232e6cff1d7ca37bb5234074c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/110862] format out of bands read on format string "{0:{0}"

2023-08-01 Thread gcc at pauldreik dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 --- Comment #2 from Paul Dreik --- (In reply to 康桓瑋 from comment #1) > It does throw: > > https://godbolt.org/z/5q3bb51YE Sorry for being unclear. Yes, it throws but that is after the out of bounds read has happened.