[Bug middle-end/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-15 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #7 from Robin Dapp --- Ah, it's even easier to trigger then. I already have a somewhat working solution by going with Richi's suggestion and adding the handling for COND_OPs in vect patterns. Still needs a bit more polishing and te

[Bug target/112547] 9% exec time regression of 462.libquantum SPEC on AMD zen4 CPU

2023-11-15 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112547 --- Comment #4 from Haochen Jiang --- I checked the znver3 plot on the site, it seems that no regression occurs. Since znver4 enabled AVX512, that is the reason why I guessed previously. Could you also provide the option you ran with? I could

[Bug target/112109] Missing riscv vectorized strcmp (and other) expanders

2023-11-15 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112109 --- Comment #1 from Kito Cheng --- Just note: I would like to introduce `-mstringop-strategy=`, `-mmemcpy-strategy=` and -mmemset-strategy=` option to control the behavior like x86. the possible option list from my mind is: - auto: current st

[Bug target/112547] 9% exec time regression of 462.libquantum SPEC on AMD zen4 CPU

2023-11-15 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112547 --- Comment #3 from Haochen Jiang --- (In reply to Haochen Jiang from comment #2) > It is weird since I did not touch the tune. > > Need a bisect to check that but I do not have a zen4 machine. > > Could you try with this commit g:459866eaeec1

[Bug tree-optimization/112536] [14 regression] ICE when building xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378) since r14-5435-g7383cb56e

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

[Bug target/112526] [14 regression] Miscompilation of ffmpeg test for -m32 since r14-4968-g89e5d902fc55ad

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

[Bug target/112547] 9% exec time regression of 462.libquantum SPEC on AMD zen4 CPU

2023-11-15 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112547 --- Comment #2 from Haochen Jiang --- It is weird since I did not touch the tune. Need a bisect to check that but I do not have a zen4 machine. Could you try with this commit g:459866eaeec151e72aecd670695f014f4ec48588 to see if the regression

[Bug target/112526] [14 regression] Miscompilation of ffmpeg test for -m32 since r14-4968-g89e5d902fc55ad

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112526 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f158bd511df1f55ebbbc0df3dee52c4400291984 commit r14-5519-gf158bd511df1f55ebbbc0df3dee52c4400291984 Author: Jakub Jelinek Date:

[Bug tree-optimization/112536] [14 regression] ICE when building xorg-server on arm64 (internal compiler error: in vect_slp_analyze_node_operations, at tree-vect-slp.cc:6378) since r14-5435-g7383cb56e

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9f35d8cd767155e9c24f5ef0944168711d38bc6b commit r14-5518-g9f35d8cd767155e9c24f5ef0944168711d38bc6b Author: Jakub Jelinek Date:

[Bug middle-end/112554] [14 Regression] RISC-V ICE: verify_ssa failed with -O3 --param riscv-autovec-preference=fixed-vlmax

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112554 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug target/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 Richard Biener changed: What|Removed |Added Component|middle-end |target Target|

[Bug libstdc++/112551] Incompatibility of libstdc++ liked statically and -Bsymbolic-functions

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112551 --- Comment #1 from Richard Biener --- Don't use -Bsymbolic-functions then? You are actively breaking the C++ standard guarantees here. Not to say, don't use static linking, but hey ... or at least fully statically link the application.

[Bug middle-end/112549] [14 Regression] 9% exec time regression of 436.cactusADM on Aarch64

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from Ri

[Bug target/112548] 5% exec time regression in 429.mcf on AMD zen4 CPU

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112548 Richard Biener changed: What|Removed |Added Keywords||missed-optimization,

[Bug target/112547] 9% exec time regression of 462.libquantum SPEC on AMD zen4 CPU

2023-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112547 Richard Biener changed: What|Removed |Added Keywords||missed-optimization,

[Bug middle-end/112549] [14 Regression] 9% exec time regression of 436.cactusADM on Aarch64

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 --- Comment #1 from Andrew Pinski --- Do you know what core is this runs on?

[Bug middle-end/112560] [14 Regression] ICE in try_combine on pr112494.c

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112560 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug middle-end/112560] New: ICE in try_combine on pr112494.c

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112560 Bug ID: 112560 Summary: ICE in try_combine on pr112494.c Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority:

[Bug tree-optimization/112282] [14 Regression] wrong code (generated code hangs) at -O3 on x86_64-linux-gnu since r14-4777-g88c27070c25309

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282 --- Comment #17 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:31bf21c78029434b7515a94477ce3565bff0743f commit r14-5517-g31bf21c78029434b7515a94477ce3565bff0743f Author: Richard Biener Date:

[Bug other/112549] [14 Regression] 9% exec time regression of 436.cactusADM on Aarch64

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112549 Andrew Pinski changed: What|Removed |Added Summary|9% exec time regression of |[14 Regression] 9% exec

[Bug middle-end/112554] [14 Regression] RISC-V ICE: verify_ssa failed with -O3 --param riscv-autovec-preference=fixed-vlmax

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112554 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Lehua Ding : https://gcc.gnu.org/g:fc6f7ab4e078aaf52c37739da73eb6416f5ec788 commit r14-5516-gfc6f7ab4e078aaf52c37739da73eb6416f5ec788 Author: Juzhe-Zhong Date: Thu Nov

[Bug c/112559] The -fno-builtin option affects the instruction generation of the program

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

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #22 from rguenther at suse dot de --- On Thu, 16 Nov 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 > > --- Comment #21 from JuzheZhong --- > Thanks Richi. > > Does re-associating (

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

2023-11-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #33 from rguenther at suse dot de --- On Wed, 15 Nov 2023, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 > > --- Comment #29 from Jakub Jelinek --- > --- gcc/tree-vect-loop.cc.jj2023-11-

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #32 from Andrew Pinski --- I suspect we need a dump option to dump the freed ssa names after each pass. This will allow proving if r14-5076 is at fault or not.

[Bug c/112559] New: The -fno-builtin option affects the instruction generation of the program

2023-11-15 Thread mumuxi_ll at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112559 Bug ID: 112559 Summary: The -fno-builtin option affects the instruction generation of the program Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 Andrew Pinski changed: What|Removed |Added Build|x86_64-linux-gnu| Host|x86_64-linux-gnu

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #30 from Andrew Pinski --- Here is another reduced testcase: ``` struct t { long coef[1]; t(const unsigned long &a) : coef{a} {}; t(const t &a); }; extern void gen_int_mode(t, int); struct expand_vec_perm_d { unsigned char pe

[Bug middle-end/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #6 from JuzheZhong --- (In reply to Andrew Pinski from comment #5) > (In reply to JuzheZhong from comment #4) > > > > I think it's very likely caused by Robin's ifcvt patch. > > > > CCing Robin who should know the best. > > And mo

[Bug middle-end/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug testsuite/112419] [14 Regression] gcc.dg/Wnonnull-4.c excess error for 32-bit targets

2023-11-15 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112419 --- Comment #4 from uecker at gcc dot gnu.org --- I was a bit busy. My idea would have been to split the file up into warnings for Wnonnull and Wstringop. Your patch should work though (but I can't approve).

[Bug c/112556] Null pointer constants with enumeration type are not accepted

2023-11-15 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 --- Comment #1 from Halalaluyafail3 --- This bug also seems to happen with boolean types: void*p=(_Bool)0; Furthermore, this bug only seems to happen when the type of the null pointer constant is an enumeration or boolean type: void*p1=+(_Boo

[Bug debug/107169] [13/14 Regression] -fcompare-debug failure at -O and above since r13-2921-gf1adf45b17f7f1ed

2023-11-15 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107169 --- Comment #5 from Alexandre Oliva --- It looks like r14-5257-g61d2b4746300a604469df15789194d0a7c73791b fixes this.

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-15 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 David Edelsohn changed: What|Removed |Added Priority|P3 |P2 Ever confirmed|0

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Andrew Pinski changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #3 fr

[Bug middle-end/112558] Add musttail tail call feature equivalent to LLVM and Clang

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112558 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/112558] New: Add musttail tail call feature equivalent to LLVM and Clang

2023-11-15 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112558 Bug ID: 112558 Summary: Add musttail tail call feature equivalent to LLVM and Clang Product: gcc Version: unknown Status: UNCONFIRMED Keywords: internal-improv

[Bug testsuite/112419] [14 Regression] gcc.dg/Wnonnull-4.c excess error for 32-bit targets

2023-11-15 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112419 Hans-Peter Nilsson changed: What|Removed |Added Keywords||patch Assignee|uecker at

[Bug c++/112557] New: ICE with coroutines in build_special_member_call, at cp/call.cc:11093

2023-11-15 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112557 Bug ID: 112557 Summary: ICE with coroutines in build_special_member_call, at cp/call.cc:11093 Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug c++/112410] error when auto(x) is used in a variable initializer

2023-11-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112410 --- Comment #5 from Marek Polacek --- Fixed on trunk so far; I want to fix it in 13 too.

[Bug c++/112410] error when auto(x) is used in a variable initializer

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112410 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:70060dadfbf0d0af5f4cab5f3aff3223a4523606 commit r14-5514-g70060dadfbf0d0af5f4cab5f3aff3223a4523606 Author: Marek Polacek Date: Th

[Bug target/112532] [14 Regression] ICE: in extract_insn, at recog.cc:2804 (unrecognizable insn: vec_duplicate:V4HI) with -O -msse4 since r14-5388-g2794d510b979be

2023-11-15 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112532 --- Comment #5 from liuhongt at gcc dot gnu.org --- (In reply to Sam James from comment #4) > btw: if you change your email on bugzilla to liuho...@gcc.gnu.org, you'll > get more permissions to edit bugs. Ok, thanks.

[Bug c/112556] New: Null pointer constants with enumeration type are not accepted

2023-11-15 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112556 Bug ID: 112556 Summary: Null pointer constants with enumeration type are not accepted Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/112552] [14 Regression] ICE: in expand_insn, at optabs.cc:8305

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #4 from JuzheZhong --- I see. https://godbolt.org/z/cbW8535W1 The ifcvt is incorrect. iftmp.0_11 = _40 ? 0B : g; _ifc__51 = .COND_IOR (_40, d_lsm.11_10, 1, d_lsm.11_10); _40 is QImode. The later loop vectorizer vectorize _40

[Bug target/112552] [14 Regression] ICE: in require, at machmode.h:313

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #3 from JuzheZhong --- Plz update the title. And bug type. It's middle-end bug.

[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

2023-11-15 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878 --- Comment #41 from LIU Hao --- There should have been an option, long ago since GCC 7, which may be called -mcx16-just-emit-the-god-damn-cmpxchg16b-for-me-if-it-does-not-work-its-not-your-fault `__sync_*` are not an option as 1) they do no

[Bug target/112552] [14 Regression] ICE: in require, at machmode.h:313

2023-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #2 from Patrick O'Neill --- Created attachment 56598 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56598&action=edit -freport-bug output tip-of-tree gcc I bisected with `grep "internal compiler error"` so it seems like the IC

[Bug target/112552] [14 Regression] ICE: in require, at machmode.h:313

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 --- Comment #1 from JuzheZhong --- I didn't reproduce this issue but I reproduce another ICE: during RTL pass: expand bug.c:5:6: internal compiler error: in expand_insn, at optabs.cc:8305 5 | void h() { | ^ 0x15fea05 expand_insn(

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #20 from Patrick O'Neill --- (In reply to JuzheZhong from comment #19) > Dump FAILs should be ignored as I said before since they are also failed on > other > targets. I have analyzed all dump FAILs. Got it - I posted all the failur

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #19 from JuzheZhong --- Dump FAILs should be ignored as I said before since they are also failed on other targets. I have analyzed all dump FAILs.

[Bug tree-optimization/109088] GCC does not always vectorize conditional reduction

2023-11-15 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109088 --- Comment #21 from JuzheZhong --- Thanks Richi. Does re-associating (with eliminating exceptions) in if-convert is a reasonable approach ? If yes, I am gonna to revisit this PR on GCC-15 and refine the codes.

[Bug c++/112555] New: NTTP of cv-qualified pointer type fails to mangle in those qualifiers

2023-11-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112555 Bug ID: 112555 Summary: NTTP of cv-qualified pointer type fails to mangle in those qualifiers Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/102470] C++20 NTTP causes ICE

2023-11-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102470 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug c++/99524] initializer_list storage considered a temporary when accessed through NTTP

2023-11-15 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99524 Johel Ernesto Guerrero Peña changed: What|Removed |Added Resolution|--- |INVALID Status

[Bug c++/99524] initializer_list storage considered a temporary when accessed through NTTP

2023-11-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99524 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com --- C

[Bug c++/110938] [11/12/13/14 Regression] miscompile if implicit special member is deleted and mutable

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110938 --- Comment #5 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #3) > But I don't think that will have affected the __is_trivially_copyable(Y) > result. Maybe the __is_trivially_copyable is due to the same reason why PR 112544 s

[Bug target/111311] RISC-V regression testsuite errors with --param=riscv-autovec-preference=scalable

2023-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111311 --- Comment #18 from Patrick O'Neill --- 2023-11-04 -> 2023-11-15 rv64gcv glibc on qemu status update: gcc: 83 -> 46 g++: 13 -> 13 gfortran: 30 -> 14 All of these have been resolved failures, no new regressions replaced resolved ones on rv64gcv

[Bug c/112550] Difference in output from -O0 to -01 ?

2023-11-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112550 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/112539] a struct with an array of unknown size at the end allows writing past end of the struct

2023-11-15 Thread pgmer6809 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112539 --- Comment #5 from Greg Morse --- Thank you very much for the links.Fascinating stuff for someone who is not a real programming Guru.I do wonder though what is so appealing about 'trailing arrays' that they became so embedded in so much code,

[Bug c/112543] warning pointer used after free() for printf("%p")

2023-11-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112543 Xi Ruoyao changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

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

2023-11-15 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104075 Bug 104075 depends on bug 112543, which changed state. Bug 112543 Summary: warning pointer used after free() for printf("%p") https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112543 What|Removed |Added

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #29 from Jakub Jelinek --- --- gcc/tree-vect-loop.cc.jj2023-11-14 10:35:52.0 +0100 +++ gcc/tree-vect-loop.cc 2023-11-15 22:42:32.782007408 +0100 @@ -4105,9 +4105,9 @@ pop: /* In case of a COND_OP (mask, op1,

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

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

[Bug middle-end/112554] New: [14 Regression] RISC-V ICE: verify_ssa failed with -O3 --param riscv-autovec-preference=fixed-vlmax

2023-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112554 Bug ID: 112554 Summary: [14 Regression] RISC-V ICE: verify_ssa failed with -O3 --param riscv-autovec-preference=fixed-vlmax Product: gcc Version: 14.0 Status: UNCONFIRM

[Bug target/78904] zero-extracts are not effective

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904 --- Comment #20 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:e8676f9ded71f5e04c4e9d81ec656809f6ba54e6 commit r14-5511-ge8676f9ded71f5e04c4e9d81ec656809f6ba54e6 Author: Uros Bizjak Date: Wed N

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #27 from Jakub Jelinek --- Indeed, the vect dump already has different SSA_NAME_VERSIONs on the original.

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #26 from Jakub Jelinek --- Though the original might be yet another problem, because I see some differences e.g. in SSA_NAME_VERSIONs already in earlier dumps (slp1, will look at others).

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #25 from Jakub Jelinek --- Ok, yet another reduction then: ./xgcc -B ./ -fcompare-debug -march=skylake-avx512 -O2 -S pr112374.c -da --param min-nondebug-insn-uid=1000 -fdump-tree-all void foo (int, int); struct S { char s[64]; } *p;

[Bug c++/112553] noexcept lambda does not generate call to terminate

2023-11-15 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 --- Comment #3 from Federico Kircheis --- I stand corrected, sorry for the report. Where can I find official information/documentation about the personality function used by gcc? The fact that clang and msvc handle this case differently made

[Bug c++/112553] noexcept lambda does not generate call to terminate

2023-11-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 --- Comment #2 from Jonathan Wakely --- (In reply to Federico Kircheis from comment #0) > If "do_something" throws, as the lambda is marked noexcept, there should be > a call to std::terminate, but it is not the case: > https://godbolt.org/z/xjq

[Bug c++/112553] noexcept lambda does not generate call to terminate

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

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #24 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #22) > This one starts to differ during RTL expansion, -fdump-tree-optimized > differs only > with addition of DEBUG stmts, but expand dump already has: > -(insn 1007

[Bug target/112531] [14] RISC-V: gcc.dg/unroll-8.c rtl-dump scan errors with --param=riscv-autovec-preference=scalable

2023-11-15 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112531 --- Comment #4 from Robin Dapp --- Personally, I don't mind having some FAILs as long as we know them and understand the reason for them. I wouldn't insist on "fixing" them but don't mind if others prefer to have the results "clean". Probably

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #23 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #22) > This one starts to differ during RTL expansion, -fdump-tree-optimized > differs only > with addition of DEBUG stmts, but expand dump already has: > -(insn 1007

[Bug c++/112553] New: noexcept lambda does not generate call to terminate

2023-11-15 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112553 Bug ID: 112553 Summary: noexcept lambda does not generate call to terminate Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #22 from Jakub Jelinek --- This one starts to differ during RTL expansion, -fdump-tree-optimized differs only with addition of DEBUG stmts, but expand dump already has: -(insn 1007 1006 1008 (parallel [ +(insn 1007 8 1008 (parallel [

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #21 from Jakub Jelinek --- Another reduction, unfortunately with uninitialized var use: void foo (int, int); struct S { char s[4]; }; int a, b, c; void bar () { struct S d; long e = 0; for (c = 0; c < 4; ++c) e |= (d.s[c]

[Bug middle-end/94787] Failure to detect single bit popcount pattern

2023-11-15 Thread tavianator at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94787 Tavian Barnes changed: What|Removed |Added CC||tavianator at gmail dot com --- Comment

[Bug c++/93431] FAIL: g++.dg/cpp2a/lambda-uneval9.C -std=c++2a (test for excess errors)

2023-11-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93431 --- Comment #4 from Thomas Schwinge --- (In reply to myself from comment #3) > Supposedly same issue for nvptx target, [...] I just noticed that the nvptx target instance of this happens to have been addressed by recent commit r14-5159-g9837f62f

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #20 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #19) > enum E { F } a, b; > char c; > bool d; > int e; > int (*f) (int, int); > int foo (int, int); > > void > bar (void) > { > if (d) > for (e = 0; c; e++ &&

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #19 from Jakub Jelinek --- enum E { F } a, b; char c; bool d; int e; int (*f) (int, int); int foo (int, int); void bar (void) { if (d) for (e = 0; c; e++ && a) switch (b) case F: f = foo; } ./xgcc -B ./ -fcompare-debug

[Bug target/112552] New: [14 Regression] ICE: in require, at machmode.h:313

2023-11-15 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112552 Bug ID: 112552 Summary: [14 Regression] ICE: in require, at machmode.h:313 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-11-15 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 110302, which changed state. Bug 110302 Summary: libquantum regression on zen3 with LTO and PGO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110302 What|Removed |Added --

[Bug tree-optimization/110302] libquantum regression on zen3 with LTO and PGO

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

[Bug target/112531] [14] RISC-V: gcc.dg/unroll-8.c rtl-dump scan errors with --param=riscv-autovec-preference=scalable

2023-11-15 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112531 --- Comment #3 from Edwin Lu --- (In reply to JuzheZhong from comment #1) > This FAIL is reasonable. So we can ignore it. > > The vectorized code will fail at this dump check like ARM SVE: > https://godbolt.org/z/dbsKb7bxY > > Or you can fix t

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #18 from Jakub Jelinek --- I'm already at 79804 bytes with the reduction, will get there soon.

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #17 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #16) > Managed to reproduce now as -fcompare-debug failure: > /home/jakub/src/gcc/obj46/./prev-gcc/xg++ > -B/home/jakub/src/gcc/obj46/./prev-gcc/ -O2 -fno-exceptions

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-15 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/112447] risc-v regression: FAIL: gcc.c-torture/execute/memset-3.c -O3

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112447 --- Comment #21 from CVS Commits --- The master branch has been updated by Vineet Gupta : https://gcc.gnu.org/g:d1189ceefc1da1515e039c9cfd2f5a67b5820207 commit r14-5507-gd1189ceefc1da1515e039c9cfd2f5a67b5820207 Author: Juzhe-Zhong Date: Tue

[Bug c++/112515] [14 regression] ICE when building Transmission in standard_conversion with {} and type depdent and enum class and function call since r14-4793-gdad311874ac3b3

2023-11-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112515 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/112515] [14 regression] ICE when building Transmission in standard_conversion with {} and type depdent and enum class and function call since r14-4793-gdad311874ac3b3

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112515 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b126f3ffbef59b0b08c2c2a664133d7d6f5ca235 commit r14-5505-gb126f3ffbef59b0b08c2c2a664133d7d6f5ca235 Author: Patrick Palka Date: W

[Bug c++/101043] ICE in check_noexcept_r for lambda conditional noexcept via requires expression

2023-11-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101043 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/101043] ICE in check_noexcept_r for lambda conditional noexcept via requires expression

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101043 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:40a7707a7ea3568cee2cd80cd7e83b7eda678410 commit r14-5504-g40a7707a7ea3568cee2cd80cd7e83b7eda678410 Author: Patrick Palka Date: W

[Bug target/112374] [14 Regression] Failed bootstrap with `--with-arch=skylake-avx512 --with-cpu=skylake-avx512`, causes a comparison failure since r14-5076-g01c18f58d37865d5f3bbe93e666183b54ec

2023-11-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112374 --- Comment #16 from Jakub Jelinek --- Managed to reproduce now as -fcompare-debug failure: /home/jakub/src/gcc/obj46/./prev-gcc/xg++ -B/home/jakub/src/gcc/obj46/./prev-gcc/ -O2 -fno-exceptions -fno-rtti -fno-common -S pr112374.ii -Wno-narrowing

[Bug c++/112427] [14 regression] ICE when building Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/112427] [14 regression] ICE when building Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d3f48f682271ed94ab6e9f6bc62418a62bd8ff26 commit r14-5503-gd3f48f682271ed94ab6e9f6bc62418a62bd8ff26 Author: Patrick Palka Date: W

[Bug c/112550] Difference in output from -O0 to -01 ?

2023-11-15 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112550 --- Comment #3 from David Binderman --- >From a valgrind run: ==4110530== Use of uninitialised value of size 8 ==4110530==at 0x401145: crc32_byte (csmith.h:73) ==4110530==by 0x401167: crc32_8bytes (csmith.h:99) ==4110530==by 0x40116

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-11-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/111703] [11/12/13/14 Regression] [C++20]Compiler fails when using generic lambda in specific situation since r11-550-gf65a3299a521a4

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111703 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6665a8572c8f24bd55c6081c91f461442c94dcfb commit r14-5502-g6665a8572c8f24bd55c6081c91f461442c94dcfb Author: Patrick Palka Date: W

[Bug c++/112269] [14 Regression] x86_64 GNU/Linux '-m32' multilib 'libstdc++-v3/include/complex:1493: internal compiler error: in tsubst_expr, at cp/pt.cc:21534' since r14-4796-g3e3d73ed5e85e7

2023-11-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112269 --- Comment #12 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6665a8572c8f24bd55c6081c91f461442c94dcfb commit r14-5502-g6665a8572c8f24bd55c6081c91f461442c94dcfb Author: Patrick Palka Date:

  1   2   >