[Bug target/117103] GCC trunk emits push + pop at -Oz when a mov could suffice

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

[Bug target/117103] GCC trunk emits push + pop at -Oz when a mov could suffice

2024-10-11 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117103 --- Comment #3 from Davide Italiano --- > Note if you are doing code size comparison, then looking at the # of > instructions for a target like x86 is not the way to go. You need to actually > look at the assembled instruction output. Oops, m

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Attachment #59325|0 |1 is obsolete|

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug tree-optimization/116808] Valgrind reports mismatched new/delete in value-range.h

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116808 Sam James changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #52 from Eric Botcazou --- > - Similarly, the !DECL_P was said to not be required, but upon closer > examination, the ELF select_section seems to do that, so I've left it in > since it does look like it is used for some purpose No, i

[Bug fortran/117077] ICE due to allocatable component in hidden type

2024-10-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117077 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #53 from Julian Waters --- Alright, will remove the DECL_P

[Bug tree-optimization/117062] [15 regression] x86-64: ICE during GIMPLE pass: vect

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117062 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRM

[Bug tree-optimization/117050] [15 Regression] ice in vect_build_slp_tree_2

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117050 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:aa4c55b13049cbd282cc0e043cc3e45423fdd6de commit r15-4248-gaa4c55b13049cbd282cc0e043cc3e45423fdd6de Author: Richard Biener Date:

[Bug tree-optimization/117050] [15 Regression] ice in vect_build_slp_tree_2

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117050 --- Comment #6 from Richard Biener --- *** Bug 117062 has been marked as a duplicate of this bug. ***

[Bug target/117037] gcc14.2.1 riscv64-unknown-linux-gnu-g++ build opencv 5.x error

2024-10-11 Thread bigmagicreadsun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117037 --- Comment #3 from fujin zhao --- The same project compiles fine with GCC 13.1.1, but it reports an error with GCC 14.2.1. However, adding the -fwrapv option in GCC 14.2.1 can fixed the bug.Could you please explain the reason for this?

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #51 from Julian Waters --- Created attachment 59318 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59318&action=edit Attempt to parallelize the load from gs/fs and load of _tls_index I've written a slightly different version of

[Bug target/117037] gcc14.2.1 riscv64-unknown-linux-gnu-g++ build opencv 5.x error

2024-10-11 Thread bigmagicreadsun at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117037 --- Comment #4 from fujin zhao --- After adding the -freport-bug compilation option, the error message is as follows: [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reduce_layer.cpp.o during GIMPLE pass: vect opencv

[Bug libstdc++/117085] chrono formatting: %c does not honor locale after expansion

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > const _CharT* __rep = __formats[__mod]; Oops, we don't need two __rep variables! I suppose this is a bit neater anyway: + if (*__formats

[Bug tree-optimization/117086] [15 Regression] ICE in tree check: expected vector_type, have boolean_type in TYPE_VECTOR_SUBPARTS, at tree.h:4255

2024-10-11 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117086 Haochen Jiang changed: What|Removed |Added CC||haochen.jiang at intel dot com --- Comm

[Bug tree-optimization/117086] [15 Regression] ICE in tree check: expected vector_type, have boolean_type in TYPE_VECTOR_SUBPARTS, at tree.h:4255

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117086 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug c++/117099] [14/15 Regression] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Andrew Pinski changed: What|Removed |Added Known to work||13.3.0 Priority|P3

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #2 from Sam James --- (FWIW, the bisect result makes no sense to me, but I did revert it on releases/13 and it worked?)

[Bug c++/117101] New: internal compiler error: Segmentation fault for operator new

2024-10-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117101 Bug ID: 117101 Summary: internal compiler error: Segmentation fault for operator new Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/116887] Section type conflict on loongarch with .data.rel.ro section attribute

2024-10-11 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116887 --- Comment #27 from chenglulu --- (In reply to chenglulu from comment #26) > (In reply to Xi Ruoyao from comment #23) > > Anyway I'd like to know more info about PR47610 and PR52999. In the old > > days people didn't write rationales in Change

[Bug target/117097] New: [15 Regression] gcc.target/i386/pr63527.c

2024-10-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117097 Bug ID: 117097 Summary: [15 Regression] gcc.target/i386/pr63527.c Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/117097] [15 Regression] gcc.target/i386/pr63527.c

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

[Bug target/117097] [15 Regression] gcc.target/i386/pr63527.c

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117097 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra,

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #18 from David Malcolm --- (In reply to Kamil Dudka from comment #16) > (In reply to David Malcolm from comment #15) > > (In reply to Kamil Dudka from comment #14) [...snip...] > > > Does the above support all your use-cases? > >

[Bug target/117007] Poor optimization for small vector constants needed for vector shift/rotate/mask generation

2024-10-11 Thread munroesj at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 --- Comment #4 from Steven Munroe --- Created attachment 59323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59323&action=edit Examples doe Vector DW int constant

[Bug c++/117099] New: internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Bug ID: 117099 Summary: internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*) Product: gcc Version: unknown Status: UNCONFIRMED S

[Bug tree-optimization/117100] New: [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Bug ID: 117100 Summary: [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #1 from Sam James --- The testcase works for me with 12+14+15, but the issue might be latent. 13.3 was the first bad release, bisected to r13-7841-g70639014a69cf5 (for PR110315, cherrypick of PR109695). 14 was never broken so I cou

[Bug c++/117099] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery, |

[Bug target/117103] New: GCC trunk emits push + pop at -Oz when a mov could suffice

2024-10-11 Thread dccitaliano at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117103 Bug ID: 117103 Summary: GCC trunk emits push + pop at -Oz when a mov could suffice Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug target/117098] New: Tail call doesn't work for x32

2024-10-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117098 Bug ID: 117098 Summary: Tail call doesn't work for x32 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 --- Comment #3 from Andrew Pinski --- Created attachment 59324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59324&action=edit The first patch This is the first patch which I am testing. Will handle the factor one afterwards. Note the ch

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Version|15.0

[Bug c++/117102] New: internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in unify, at cp/pt.cc:24866

2024-10-11 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117102 Bug ID: 117102 Summary: internal compiler error: tree check: accessed elt 2 of 'tree_vec' with 1 elts in unify, at cp/pt.cc:24866 Product: gcc Version: unknown Status: U

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

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

[Bug c++/117101] [12/13/14/15 Regression] internal compiler error: Segmentation fault for operator new

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117101 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #5 from Andrew Pinski --- Created attachment 59325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59325&action=edit Patch which might fix the issue Can you test this patch? It might fix the issue by using an allocated array of

[Bug target/117053] [15 Regression] ICE in extract_insn building glibc testsuite tst-svc2.c

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117053 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b0d624726cccdb855f9e1ba68edbd5c30913457b commit r15-4249-gb0d624726cccdb855f9e1ba68edbd5c30913457b Author: Jakub Jelinek Date: F

[Bug target/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c since r15-3509-gd34cda72098867

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 --- Comment #6 from Richard Biener --- Btw, simplify-rtx does /* Canonicalize the two multiplication operands. */ /* a * -b + c => -b * a + c. */ if (swap_commutative_operands_p (op0, op1)) std::swap (op0, op1), an

[Bug target/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c since r15-3509-gd34cda72098867

2024-10-11 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 --- Comment #10 from Hongtao Liu --- (In reply to rguent...@suse.de from comment #9) > On Fri, 11 Oct 2024, liuhongt at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 > > > > --- Comment #8 from Hongtao Liu -

[Bug target/117088] New: [15 regression] 548.exchange_r regressed by 10% with -O2 -march=x86-64-v3 after enhance O2 vectorization

2024-10-11 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117088 Bug ID: 117088 Summary: [15 regression] 548.exchange_r regressed by 10% with -O2 -march=x86-64-v3 after enhance O2 vectorization Product: gcc Version: 15.0 Status: UNCON

[Bug tree-optimization/117091] New: Severe Performance Regression in GCC Trunk vs GCC 6.1

2024-10-11 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 Bug ID: 117091 Summary: Severe Performance Regression in GCC Trunk vs GCC 6.1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/86710] 3 missing logarithm optimizations

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86710 Sam James changed: What|Removed |Added Target Milestone|--- |15.0 --- Comment #5 from Sam James --- (Set

[Bug ada/117087] [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612

2024-10-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117087 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #57 from Julian Waters --- Just a heads up, the minimal reproducer seems to be getting garbage movabsq instructions emitted again with the first stage gcc in the bootstrap phase .file "tls.c" .text .section

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 Julian Waters changed: What|Removed |Added Attachment #59319|0 |1 is obsolete|

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #60 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #59) > (In reply to Julian Waters from comment #57) > > Just a heads up, the minimal reproducer seems to be getting garbage movabsq > > instructions emitted again with the

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #59 from Uroš Bizjak --- (In reply to Julian Waters from comment #57) > Just a heads up, the minimal reproducer seems to be getting garbage movabsq > instructions emitted again with the first stage gcc in the bootstrap phase You prob

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 ak at gcc dot gnu.org changed: What|Removed |Added Summary|bit_test_cluster takes |switch clustering takes

[Bug target/66207] Switch alpha to LRA

2024-10-11 Thread mcree at orcon dot net.nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66207 Michael Cree changed: What|Removed |Added CC||mcree at orcon dot net.nz --- Comment #14

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2024-10-11 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #4 from ak at gcc dot gnu.org --- Here's a patch that enables the slow switch conversions only at -O2. With that the test case builds reasonably quickly. diff --git a/gcc/common.opt b/gcc/common.opt index 12b25ff486de..4af7a94fea42

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 --- Comment #2 from Andrew Pinski --- This is one just for match_simplify_replacement/empty_bb_or_one_feeding_into_p: ``` struct s1{ unsigned b = 0; }; int f(signed a, int c) { signed b = 0; if (a < 0) { s1(); b = a; }

[Bug libstdc++/113299] [C++23] Implement P2408R5, Ranges iterators as inputs to non-Ranges algorithms

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113299 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/117096] New: Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 Bug ID: 117096 Summary: Clobbers sometimes gets in the way of phiopt Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-10-11 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #12 from Rama Malladi --- Hi Eugene, checking in again. Can you please review this issue and a fix? Thanks.

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

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

[Bug gcov-profile/116743] [12/13/14/15 regression] Commit r12-5817-g3d9e6767939e96 causes ~10% perf regression w AutoFDO

2024-10-11 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116743 --- Comment #13 from Eugene Rozenfeld --- Hi Rama. Sorry for the delay. I hope I'll have time to review your repro in the next couple of weeks.

[Bug c++/113798] [C++26] P2662R3 - Pack indexing

2024-10-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113798 --- Comment #5 from Marek Polacek --- I'm not sure if it's my bug or one of the decltype-in-lambda PRs, but x5 should be deduced to int but we deduce it to int& :(. x6 works fine. ``` void fn1 () { int i = 0; [&i](auto... pack) { declt

[Bug target/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c since r15-3509-gd34cda72098867

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 --- Comment #7 from Richard Biener --- OTOH I'll note that no other simplify_* treats canonicalization as simplification and the existing swap_commutative_operands_p transform for FMA is highly uncommon. So why do we recognize (fma (neg (mem...

[Bug ada/117087] New: [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612

2024-10-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117087 Bug ID: 117087 Summary: [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/117080] [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c since r15-3509-gd34cda72098867

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117080 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug libstdc++/93059] char and char8_t does not talk with each other with memcpy. std::copy std::copy_n, std::fill, std::fill_n, std::uninitialized_copy std::uninitialized_copy_n, std::fill, std::unin

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93059 --- Comment #49 from Jonathan Wakely --- Patches posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665055.html https://gcc.gnu.org/pipermail/gcc-patches/2024-October/665056.html More to follow. _Z15copy_char_arrayPDuRKSt5arrayIcLm2E

[Bug ada/116945] Valgrind reports uninitialized memory use in sem_ch12.adb (sem_ch12__instance_context__save_and_reset)

2024-10-11 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116945 --- Comment #13 from Mark Wielaard --- (In reply to Eric Botcazou from comment #12) > Unlike the C and C++ standards, the Ada standard is freely available at: > http://www.ada-auth.org/standards/22rm/html/RM-TTL.html > and the 'Valid attribute

[Bug jit/111396] Segfault when using -flto with libgccjit

2024-10-11 Thread bouanto at zoho dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111396 Antoni changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug gcov-profile/117090] New: gcov-tool ICE when merging two profiles

2024-10-11 Thread shahzad.malik.muzaffar at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117090 Bug ID: 117090 Summary: gcov-tool ICE when merging two profiles Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-p

[Bug gcov-profile/117090] gcov-tool ICE when merging two profiles

2024-10-11 Thread shahzad.malik.muzaffar at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117090 --- Comment #1 from Shahzad MUZAFFAR --- Created attachment 59320 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59320&action=edit First PGO profile

[Bug gcov-profile/117090] gcov-tool ICE when merging two profiles

2024-10-11 Thread shahzad.malik.muzaffar at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117090 --- Comment #2 from Shahzad MUZAFFAR --- Created attachment 59321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59321&action=edit Second PGO profile

[Bug libstdc++/115444] std::copy_n generates more code than needed

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115444 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Targ

[Bug sanitizer/98623] sanitizer does not diagnose when passing pointers to arrays of incorrect run-time length

2024-10-11 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98623 --- Comment #3 from Martin Uecker --- PATCH https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657253.html

[Bug tree-optimization/117086] [15 Regression] ICE in tree check: expected vector_type, have boolean_type in TYPE_VECTOR_SUBPARTS, at tree.h:4255

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117086 --- Comment #6 from Richard Biener --- After a fix we now do mask__10.8_26 = _8 < { 0, 1, 2, 3, 4, 5, 6, 7 }; vect__ifc__23.10_28 = VEC_COND_EXPR ; _30 = .REDUC_IOR (vect__ifc__23.10_28); if (vect__ifc__23.10_28 != { 0, 0, 0, 0, 0, 0, 0

[Bug target/117068] bpf: add support for preserve_static_offset attribute

2024-10-11 Thread cupertino.miranda at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117068 --- Comment #3 from Cupertino Miranda --- Indeed middle-end is already doing that conversion for BPF, in particular because of CO-RE implementation, which at gimple, turns A->B into A + __builtin_CORE_offset(B>), being B> internal meta informati

[Bug tree-optimization/117086] [15 Regression] ICE in tree check: expected vector_type, have boolean_type in TYPE_VECTOR_SUBPARTS, at tree.h:4255

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117086 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c64ae8377210bde44714d265311ee7bfa2733df9 commit r15-4260-gc64ae8377210bde44714d265311ee7bfa2733df9 Author: Richard Biener Date:

[Bug tree-optimization/117086] [13/14 Regression] ICE in tree check: expected vector_type, have boolean_type in TYPE_VECTOR_SUBPARTS, at tree.h:4255

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117086 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug target/117053] [15 Regression] ICE in extract_insn building glibc testsuite tst-svc2.c

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

[Bug libstdc++/68350] std::uninitialized_copy overly restrictive for trivially_copyable types

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68350 --- Comment #16 from Jonathan Wakely --- (In reply to Barry Revzin from comment #8) > Whereas the copy_b case could also use memmove. Or memcpy even, because std::uninitialized_copy requires the ranges to be non-overlapping, whereas std::copy on

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 Julian Waters changed: What|Removed |Added Attachment #59318|0 |1 is obsolete|

[Bug c/117089] New: GCC Segmentation Fault internal compiler error on PPC64EL running with QEMU + chroot

2024-10-11 Thread rmaguire314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117089 Bug ID: 117089 Summary: GCC Segmentation Fault internal compiler error on PPC64EL running with QEMU + chroot Product: gcc Version: unknown Status: UNCONFIRMED

[Bug libstdc++/114817] Wrong codegen for std::copy of "trivially copyable but not trivially assignable" type

2024-10-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114817 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug tree-optimization/117080] [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c since r15-3509-gd34cda72098867

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117080 --- Comment #4 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9f74d79afbf54d0e47905de755f41d95e46f178f commit r15-4263-g9f74d79afbf54d0e47905de755f41d95e46f178f Author: Richard Biener Date:

[Bug tree-optimization/117080] [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c since r15-3509-gd34cda72098867

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117080 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 117080, which changed state. Bug 117080 Summary: [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c since r15-3509-gd34cda72098867 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117080

[Bug target/117048] Failure to combine into XAR instruction

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117048 --- Comment #3 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:70566e719f0710323251e8e9190b322f4de8faeb commit r15-4269-g70566e719f0710323251e8e9190b322f4de8faeb Author: Kyrylo Tkachov Date:

[Bug target/117048] Failure to combine into XAR instruction

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117048 --- Comment #4 from GCC Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:1dcc6a1a67165a469d4cd9b6b39514c46cc656ad commit r15-4270-g1dcc6a1a67165a469d4cd9b6b39514c46cc656ad Author: Kyrylo Tkachov Date:

[Bug target/117048] Failure to combine into XAR instruction

2024-10-11 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117048 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||15.0 Resolution|--

[Bug target/117092] New: [15 regression] gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 fail

2024-10-11 Thread carlos.seo at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117092 Bug ID: 117092 Summary: [15 regression] gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 fail Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug target/117089] GCC Segmentation Fault internal compiler error on PPC64EL running with QEMU + chroot

2024-10-11 Thread rmaguire314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117089 --- Comment #1 from Ryan --- This can likely be closed. AARCH64 / ARM64 has a similar issue. Instead of every 10th file causing a crash, it's every 1000th for that arch. So it appeared to build fine last night, by luck, then this morning it se

[Bug tree-optimization/117093] New: Missing detection of REV64 vector permute

2024-10-11 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 Bug ID: 117093 Summary: Missing detection of REV64 vector permute Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/80881] Implement Windows native TLS

2024-10-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #56 from Julian Waters --- Ah, I see. I had been under the impression that gcc would see the parallel and realize that the 2 loads could be done at the same time. Since it can see that without the parallel anyway, and doing so allows

[Bug ada/116945] Valgrind reports uninitialized memory use in sem_ch12.adb (sem_ch12__instance_context__save_and_reset)

2024-10-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116945 --- Comment #14 from Eric Botcazou --- > Thanks for the reference. But this does seem to be a bit of a circular > definition. It says the 'Valid attribute can be used to check whether the > value has a valid representation, and an invalid repres

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 --- Comment #1 from Andrew Pinski --- t_4 = BIT_FIELD_REF ; a_5 = VEC_PERM_EXPR <_1, _1, { 1, 1, 2, 3 }>; a_6 = BIT_INSERT_EXPR ; t_7 = BIT_FIELD_REF ; _2 = BIT_FIELD_REF ; a_8 = BIT_INSERT_EXPR ; a_9 = BIT_INSERT_EXPR ; IIRC th

[Bug target/117095] New: [13/14/15 Regression] Wrong code since r13-5103-g7c9f20fcfdc2d8

2024-10-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117095 Bug ID: 117095 Summary: [13/14/15 Regression] Wrong code since r13-5103-g7c9f20fcfdc2d8 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code

[Bug target/117095] [13/14/15 Regression] Wrong code since r13-5103-g7c9f20fcfdc2d8

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117095 Sam James changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Milesto

[Bug jit/111396] Segfault when using -flto with libgccjit

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111396 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Target Mileston

[Bug libstdc++/117094] New: ranges::fill misses std::move for output_iterator

2024-10-11 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117094 Bug ID: 117094 Summary: ranges::fill misses std::move for output_iterator Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug ada/116498] infinite loop on MSP430 with -mlarge flag

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116498 --- Comment #7 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3b095ac8477f09cccbc9002dde888bd0ad9a73fb commit r15-4272-g3b095ac8477f09cccbc9002dde888bd0ad9a73fb Author: Eric Botcazou Date: F

[Bug ada/117087] [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117087 --- Comment #2 from GCC Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:3b095ac8477f09cccbc9002dde888bd0ad9a73fb commit r15-4272-g3b095ac8477f09cccbc9002dde888bd0ad9a73fb Author: Eric Botcazou Date: F

[Bug ada/117087] [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612

2024-10-11 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117087 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   >