[Bug c++/116595] default-initialization of vfloat32m1x4_t (RISCV V) or svfloat32x4_t (Armv9-a SVE) causes ICE

2024-09-03 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 --- Comment #5 from Kito Cheng --- GCC 14 with enable checking will trigger that as well, thanks for remind that detail, I forgot trunk will enable checking by default but release branch isn't

[Bug c++/116595] default-initialization of vfloat32m1x4_t (RISCV V) or svfloat32x4_t (Armv9-a SVE) causes ICE

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #4 from Andrew

[Bug c++/116595] default-initialization of vfloat32m1x4_t (RISCV V) or svfloat32x4_t (Armv9-a SVE) causes ICE

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 --- Comment #3 from Andrew Pinski --- (In reply to Kito Cheng from comment #2) > Hmmm, it's not well defined in the rvv intrinsic doc, but I suppose this > should at least work (compile-able) without crash, also it seems works fine > on GCC 14

[Bug c++/116595] default-initialization of vfloat32m1x4_t (RISCV V) or svfloat32x4_t (Armv9-a SVE) causes ICE

2024-09-03 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 --- Comment #2 from Kito Cheng --- Hmmm, it's not well defined in the rvv intrinsic doc, but I suppose this should at least work (compile-able) without crash, also it seems works fine on GCC 14

[Bug target/116592] illegal operands th.vsetvli zero,0,e32,m8 with -O2 -O3 when compiling for risc-v xtheadvector

2024-09-03 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116592 Kito Cheng changed: What|Removed |Added CC||cmuellner at gcc dot gnu.org,

[Bug target/115910] [15 Regression] ((unsigned)x)/3 with a range for (unsigned)x that does not have the sign bit set seems to produce much worse code

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115910 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:dbd0eb39c690f80e7a9bb7697aaa3f85ff4dbadd commit r15-3440-gdbd0eb39c690f80e7a9bb7697aaa3f85ff4dbadd Author: Andrew Pinski Date: Tu

[Bug target/116591] internal compiler error: in extract_insn when compiling for risc-v xtheadvector

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 --- Comment #2 from Andrew Pinski --- Filed PR 116595 for the ICE in to_constant since it also happens with SVE code.

[Bug c++/116595] default-initialization of vfloat32m1x4_t (RISCV V) or svfloat32x4_t (Armv9-a SVE) causes ICE

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 Andrew Pinski changed: What|Removed |Added Summary|default-initialization of |default-initialization of

[Bug target/116595] New: default-initialization of vfloat32m1x4_t causes ICE

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116595 Bug ID: 116595 Summary: default-initialization of vfloat32m1x4_t causes ICE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/116591] internal compiler error: in to_constant or extract_insn when compiling for risc-v xtheadvector

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 --- Comment #1 from Andrew Pinski --- The to_constant issue happens with -march=rv64gcv so filing it seperately.

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

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

[Bug target/116594] [meta-bug] xtheadvector brokeness

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 --- Comment #1 from Andrew Pinski --- All known brokeness of xtheadvector .

[Bug target/116594] New: [meta-bug] xtheadvector brokeness

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116594 Bug ID: 116594 Summary: [meta-bug] xtheadvector brokeness Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Priority: P3

[Bug target/116592] illegal operands th.vsetvli zero,0,e32,m8 with -O2 -O3 when compiling for risc-v xtheadvector

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116592 --- Comment #1 from Andrew Pinski --- I think it is time to remove xtheadvector support it is just broken.

[Bug tree-optimization/116593] New: internal compiler error: in get_attr_type, at config/riscv/riscv.md:28048 with -O2 -O3 when compiling for risc-v xtheadvector

2024-09-03 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116593 Bug ID: 116593 Summary: internal compiler error: in get_attr_type, at config/riscv/riscv.md:28048 with -O2 -O3 when compiling for risc-v xtheadvector Product: gcc

[Bug target/116592] New: illegal operands th.vsetvli zero,0,e32,m8 with -O2 -O3 when compiling for risc-v xtheadvector

2024-09-03 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116592 Bug ID: 116592 Summary: illegal operands th.vsetvli zero,0,e32,m8 with -O2 -O3 when compiling for risc-v xtheadvector Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 --- Comment #3 from Andrew Pinski --- To me xtheadvector support Should never have been added.

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2024-09-03 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 --- Comment #2 from nihui --- (In reply to Andrew Pinski from comment #1) > What version of binutils are you using? binutils master branch commit 5cca20f614694ba6af3c10ca5bb93c32cdb9522b (HEAD -> master, origin/master, origin/HEAD) Author: GD

[Bug tree-optimization/116591] New: internal compiler error: in to_constant or extract_insn when compiling for risc-v xtheadvector

2024-09-03 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116591 Bug ID: 116591 Summary: internal compiler error: in to_constant or extract_insn when compiling for risc-v xtheadvector Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/116590] unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

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

[Bug target/116590] New: unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector

2024-09-03 Thread shuizhuyuanluo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116590 Bug ID: 116590 Summary: unrecognized opcode th.vmv8r.v th.vfrec7.v when compiling for risc-v xtheadvector Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug target/55212] [SH] Switch to LRA

2024-09-03 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #229 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #228) > I'll have a go at Ada now. Ada still fails in subreg1: mkdir -p ada/libgnat/ /srv/glaubitz/gcc/build/./prev-gcc/xgcc -B/srv/glaubitz

[Bug target/116589] [15 regression] vectorization regressions on aarch64 since r15-1575-gea8061f46a30

2024-09-03 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116589 --- Comment #5 from Thiago Jung Bauermann --- Thank you for the quick analysis and the testcase fix!

[Bug rtl-optimization/116028] [15 regression] gcc.dg/pr10474.c test failure since r15-1619-g3b9b8d6cfdf593

2024-09-03 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028 Thiago Jung Bauermann changed: What|Removed |Added CC||thiago.bauermann at linaro dot

[Bug target/115910] [15 Regression] ((unsigned)x)/3 with a range for (unsigned)x that does not have the sign bit set seems to produce much worse code

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115910 Andrew Pinski changed: What|Removed |Added Component|middle-end |target --- Comment #2 from Andrew Pinsk

[Bug middle-end/116358] [15 Regression] undefined reference to `__umindi3' at -O3 when compiling with SVE since r15-2890-g72c9b5f438f22c

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116358 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/116589] [15 regression] vectorization regressions on aarch64 since r15-1575-gea8061f46a30

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116589 --- Comment #4 from Andrew Pinski --- gcc.target/aarch64/sve/vec_bool_cmp_1.c and gcc.target/aarch64/sve/ptest_1.c looks like the same issue.

[Bug target/116589] [15 regression] vectorization regressions on aarch64 since r15-1575-gea8061f46a30

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116589 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d8bc31d973d2ab3fabb5e85e7c4354ffb2283512 commit r15-3437-gd8bc31d973d2ab3fabb5e85e7c4354ffb2283512 Author: Andrew Pinski Date: Tu

[Bug target/116589] [15 regression] vectorization regressions on aarch64 since r15-1575-gea8061f46a30

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116589 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #2 from Andrew Pinski

[Bug target/116589] [15 regression] vectorization regressions on aarch64 since r15-1575-gea8061f46a30

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

[Bug target/116589] New: [15 regression] vectorization regressions on aarch64 since gcc-15-1575-gea8061f46a30

2024-09-03 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116589 Bug ID: 116589 Summary: [15 regression] vectorization regressions on aarch64 since gcc-15-1575-gea8061f46a30 Product: gcc Version: 15.0 Status: UNCONFIRMED Key

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > Fixed. I should mention this is not worth fixing on the release branches. Nobody else noticed this until I found it.

[Bug tree-optimization/94274] fold phi whose incoming args are defined from binary operations

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94274 Bug 94274 depends on bug 112402, which changed state. Bug 112402 Summary: [12/13/14/15 Regression] Path splitting causes if-conversion miss https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 What|Removed |Adde

[Bug tree-optimization/64700] Sink common code through PHI

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64700 Bug 64700 depends on bug 112402, which changed state. Bug 112402 Summary: [12/13/14/15 Regression] Path splitting causes if-conversion miss https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 What|Removed |Adde

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|15.0 Status|ASSIGNED

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:b2b20b277988ab9ddb6ea82141075147b7b98f74 commit r15-3436-gb2b20b277988ab9ddb6ea82141075147b7b98f74 Author: Andrew Pinski Date: Mo

[Bug middle-end/114855] ICE: Segfault when compiling large autogenerated C source file

2024-09-03 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855 --- Comment #27 from Andrew Macleod --- (In reply to Aldy Hernandez from comment #26) > > With -O1 -fenable-tree-thread1 (no threadfull): > dominator optimization : 127.76 ( 7%) 0.57 ( 7%) 128.58 ( > 7%) 236M ( 9%) > back

[Bug c++/101898] [concepts] ICE with auto in concept definition

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101898 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Res

[Bug target/55212] [SH] Switch to LRA

2024-09-03 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #228 from John Paul Adrian Glaubitz --- (In reply to John Paul Adrian Glaubitz from comment #227) > (In reply to Kazumoto Kojima from comment #226) > > Created attachment 59044 [details] > > a patch to fix patch 59034 > > > > Looks t

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/97624] ICE: in dependent_type_p, at cp/pt.c:26515

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97624 Marek Polacek changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug testsuite/116080] [15 regression] New tests from r15-2233-g8d1af8f904a0c0 fail

2024-09-03 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/116080] [15 regression] New tests from r15-2233-g8d1af8f904a0c0 fail

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116080 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:1fad396dd467326251572811b703e788e62a2588 commit r15-3432-g1fad396dd467326251572811b703e788e62a2588 Author: Andi Kleen Date: Mon Jul

[Bug tree-optimization/116588] wrong code with -O2 -fno-vect-cost-model -fno-tree-dominator-opts -fno-tree-fre --param=vrp-block-limit=0

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

[Bug c++/108620] coroutines: ICE: in instantiate_type, at cp/class.cc:8742 when assign the return value of co_yield to a member of class/struct

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

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #11 from Arsen Arsenović --- (In reply to John Eivind Helset from comment #9) > Hit this as well on master (9d5c500c4fa) in something like `co_return > co_await f(a, b ? c : d);`, if I lift the conditional out of await it seems > ok.

[Bug tree-optimization/116588] New: wrong code with -O2 -fno-vect-cost-model -fno-tree-dominator-opts -fno-tree-fre --param=vrp-block-limit=0

2024-09-03 Thread zsojka at seznam dot cz via Gcc-bugs
epo/gcc-trunk//binary-trunk-r15-3427-20240903182055-gf0ab3de6ec0-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240903 (experimental) (GCC)

[Bug c++/79371] ICE on valid C++14 code on x86_64-linux-gnu: in build_class_member_access_expr, at cp/typeck.c:2296

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79371 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/109283] Destructor of co_yield conditional argument called twice

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109283 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug rtl-optimization/116587] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with custom flags

2024-09-03 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116587 Uroš Bizjak changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org Comp

[Bug target/116587] New: ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with custom flags

2024-09-03 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116587 Bug ID: 116587 Summary: ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1868 (unable to find a register to spill) {*andndi3_doubleword_bmi} with custom flags Product: gcc

[Bug tree-optimization/112402] [12/13/14/15 Regression] Path splitting causes if-conversion miss

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112402 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/114840] [meta-bug] template template parameters

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114840 Bug 114840 depends on bug 109095, which changed state. Bug 109095 Summary: ICE when specializing a template with an auto nontype template template parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109095 What|Removed

[Bug c++/109095] ICE when specializing a template with an auto nontype template template parameter

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

[Bug c++/109095] ICE when specializing a template with an auto nontype template template parameter

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109095 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:5f3a6e26aab16a792176b33fbee1456a91aaebf2 commit r15-3428-g5f3a6e26aab16a792176b33fbee1456a91aaebf2 Author: Marek Polacek Date: Tu

[Bug tree-optimization/116585] [12/13/14/15 Regression] SSA corruption with -O3

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116585 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|[12/13/14/15 Regre

[Bug c++/113108] Internal compiler error when choosing overload pointer to member function and default'ed operator=

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113108 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/116003] [15 Regression] ICE: in register_initial_def, at value-relation.cc:610 with -O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop and _BitInt()

2024-09-03 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116003 Andrew Macleod changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/116585] [12/13/14/15 Regression] SSA corruption with -O3,-fvect-cost-model=very-cheap cures the failure

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116585 Andrew Pinski changed: What|Removed |Added Known to work||10.5.0 Keywords|

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2024-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 --- Comment #8 from Jakub Jelinek --- void foo (); template void bar () { decltype(auto) v = ({ foo (); 3; }); } doesn't need -O1 nor -g to trigger the error, and can be reproduced with -std=c++14 and higher. Still started with that commit,

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

2024-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on due to gstatement-frontiers

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

[Bug debug/104277] [meta-bug] gstatement-frontiers causes fcompare-debug issues

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

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on

2024-09-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116418 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > (In reply to Jakub Jelinek from comment #4) > > Can't reproduce either, tried GCC 11, 12, 13, 14, trunk, -O1 -std=c++20 or > > -O1 -std=c++23. > > Oh it is with

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on and debug info turned on

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

[Bug c++/116418] [12/13/14/15 Regression] statement expressions as initializer for decltype auto breaks in templates with optimization turned on

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

[Bug c++/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2024-09-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 --- Comment #3 from Jakub Jelinek --- Reduced testcase: long v; template struct A; template , typename = C> class B; template <> struct A { static int foo(char *s, const char *t, long n) { return __builtin_memcmp(s, t, n); } }; template stru

[Bug c++/106973] coroutine generator and setjmp

2024-09-03 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org As

[Bug libstdc++/113663] [MinGW] std::filesystem::hard_link_count always returns 1

2024-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113663 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > Fixed on trunk. I'd like to backport this too though, so I'll keep the > ticket open. N.B. r15-3424-g71b1639c67b915 needs to be backported too, to fix a reg

[Bug c++/104788] ICE in stmts_are_full_exprs_p

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

[Bug c++/107522] ICE in parameter_mapping_equivalent_p on trunk

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107522 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug libstdc++/116549] std::disable_sized_sentinel_for is missing specialisation for std::move_iterator

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116549 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:819deae0a5bee079a7d5582fafaa098c26144ae8 commit r15-3423-g819deae0a5bee079a7d5582fafaa098c26144ae8 Author: Jonathan Wakely Date:

[Bug c++/116567] ICE when using lamdba as default non-type template parameter.

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116567 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/116572] [14/15 Regression] Using a std::string passed to a virtual member function of a side-casted pointer spuriously ICEs (wrong code with checking disable)

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116572 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug libstdc++/116586] New: All uses of absolute timeouts should correctly handle negative times

2024-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116586 Bug ID: 116586 Summary: All uses of absolute timeouts should correctly handle negative times Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/116584] Type/value mismatch confuses error recovery

2024-09-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116584 Marek Polacek changed: What|Removed |Added Last reconfirmed||2024-09-03 CC|

[Bug tree-optimization/116585] New: SSA corruption with -O3,-fvect-cost-model=very-cheap cures the failure

2024-09-03 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116585 Bug ID: 116585 Summary: SSA corruption with -O3,-fvect-cost-model=very-cheap cures the failure Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/116460] [14 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-09-03 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #26 from rguenther at suse dot de --- On Tue, 3 Sep 2024, ales.astone at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 > > --- Comment #25 from Alessandro Astone --- > Thanks! > > What's the process f

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #14 from H.J. Lu --- (In reply to Sam James from comment #13) > (In reply to Jan Hubicka from comment #11) > > > We plan to adopt -ffat-lto-objects ourselves soon for at least a subset of > > > packages, so this was good timing. :) >

[Bug tree-optimization/116460] [14 Regression] LTO ICE with -g during GIMPLE pass: forwprop

2024-09-03 Thread ales.astone at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116460 --- Comment #25 from Alessandro Astone --- Thanks! What's the process for getting this to the stable branch?

[Bug libstdc++/116529] Construction of unique_ptr with reference type is rejected because of auto_ptr constructor

2024-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116529 --- Comment #8 from Jonathan Wakely --- I opened https://cplusplus.github.io/LWG/issue4144 for the unique_ptr case and https://cplusplus.github.io/LWG/issue4148 for the dangling reference case.

[Bug libstdc++/116529] Construction of unique_ptr with reference type is rejected because of auto_ptr constructor

2024-09-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116529 --- Comment #7 from Jonathan Wakely --- That's what this does: --- a/libstdc++-v3/include/bits/unique_ptr.h +++ b/libstdc++-v3/include/bits/unique_ptr.h @@ -379,8 +379,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #pragma GCC diagnostic push #pragma

[Bug lto/116535] LTO partitioning vs. offloading compilation

2024-09-03 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116535 --- Comment #9 from Tobias Burnus --- (In reply to Jan Hubicka from comment #7) > We treat first partition somewhat specially in other code too, so I > guess we could a test if the streamed partition is first one instad of > relying on free to h

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-03 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #13 from Sam James --- (In reply to Jan Hubicka from comment #11) > > We plan to adopt -ffat-lto-objects ourselves soon for at least a subset of > > packages, so this was good timing. :) > Note that -ffat-lto-objects has various issu

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 --- Comment #4 from Richard Biener --- (In reply to Jan Hubicka from comment #3) > Just for completeness the codegen for parest sparse matrix multiply is: > > 0.31 │320: kmovb %k1,%k4 > 0.25 │ kmovb %k1,%k5 > 0.28

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #12 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:2f1689ea8e631ebb4ff3720d56ef0362f5898ff6 commit r15-3416-g2f1689ea8e631ebb4ff3720d56ef0362f5898ff6 Author: H.J. Lu Date: Tue Aug 27 1

[Bug lto/116535] LTO partitioning vs. offloading compilation

2024-09-03 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116535 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/115921] Missed optimization: and->ashift might be cheaper than ashift->and on typical RISC targets

2024-09-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921 --- Comment #4 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:4371f656288f461335c47e98b8c038937a89764a commit r15-3415-g4371f656288f461335c47e98b8c038937a89764a Author: Jeff Law Date: Tue Sep 3 0

[Bug c++/116584] New: Type/value mismatch confuses error recovery

2024-09-03 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116584 Bug ID: 116584 Summary: Type/value mismatch confuses error recovery Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug tree-optimization/116583] New: vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Bug ID: 116583 Summary: vectorizable_slp_permutation cannot handle even/odd extract from VLA vector Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 --- Comment #3 from Jan Hubicka --- Just for completeness the codegen for parest sparse matrix multiply is: 0.31 │320: kmovb %k1,%k4 0.25 │ kmovb %k1,%k5 0.28 │ vmovdqu32 (%rcx,%rax,1),%zmm0 0.32 │

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 --- Comment #2 from Jan Hubicka --- it is mysterious. I was looking into why in some cases the gather is a win in micro-benchmark and loss in real benchmark. Indeed distribution of indices makes difference. If I make indices random then the pe

[Bug target/116582] gather is a win in some cases on zen CPUs

2024-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Component

[Bug middle-end/116582] New: gather is a win in some cases on zen CPUs

2024-09-03 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116582 Bug ID: 116582 Summary: gather is a win in some cases on zen CPUs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle

[Bug lto/116535] LTO partitioning vs. offloading compilation

2024-09-03 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116535 --- Comment #7 from Jan Hubicka --- > void > output_offload_tables (void) > { > ... > > /* In WHOPR mode during the WPA stage the joint offload tables need to be > streamed to one partition only. That's why we free offload_funcs and

[Bug ipa/116410] modref doesn't generate LTO summaries with -ffat-lto-objects (-ffat-lto-objects generates different and inefficient code compared with -fno-fat-lto-objects)

2024-09-03 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116410 --- Comment #11 from Jan Hubicka --- > We plan to adopt -ffat-lto-objects ourselves soon for at least a subset of > packages, so this was good timing. :) Note that -ffat-lto-objects has various issues, especially with library archives. The prob

[Bug c/116581] incorrect -Wfloat-conversion warnings for int to _Decimal64

2024-09-03 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116581 --- Comment #2 from Vincent Lefèvre --- And the warnings disappear if I change 1 to 1.0 in the testcase.

[Bug c/116581] incorrect -Wfloat-conversion warnings for int to _Decimal64

2024-09-03 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116581 --- Comment #1 from Vincent Lefèvre --- I forgot: gcc-snapshot is currently: gcc (Debian 20240829-1) 15.0.0 20240829 (experimental) [master r15-3282-g4ff4875a79c] This bug was still present in GCC 8.4.0 (same messages). With GCC 4.9, 5 and 6, I

[Bug c/116581] New: incorrect -Wfloat-conversion warnings for int to _Decimal64

2024-09-03 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116581 Bug ID: 116581 Summary: incorrect -Wfloat-conversion warnings for int to _Decimal64 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

  1   2   >