[Bug tree-optimization/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Reduced testcase: For this only `-O2 -mavx -fno-vect-cost-model` is needed.

[Bug tree-optimization/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

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

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #4 from Andrew Pinski --- vect__69.1299_108 = MAX_EXPR <_110, { 0, 0 }>; ... _9 = .REDUC_IOR (vect__69.1299_108); _71 = _9; if (_71 == 0) Most likely: /* MIN (X, Y) == X -> X <= Y */ /* MIN (X, Y) < X -> X > Y */ /* MIN (

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #3 from Andrew Pinski --- _110 = {left_59, _61}; if (_110 <= { 0, 0 }) goto ; [34.00%] else goto ; [66.00%]

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #2 from Sam James --- It's funny that we have mogrify in here as I associate it with IM :)

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #1 from Sam James --- Created attachment 59327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59327&action=edit bytearrayobject.i.xz

[Bug target/117104] New: [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
xincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241011 (experimental) 3b095ac8477f09cccbc9002dde888bd0ad9a73fb (Gentoo Hardened 15.0. p, commit 9a259e1746b11f94c3ccdeacb33bcc9ccfeb3f5f)

[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 Target Milestone|--- |13.4

[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 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/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 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 Depends on||109934 --- Comment #9 from Andrew Pinsk

[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 #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > (In reply to Sam James from comment #6) > > Simplified a bit: > > Just some debug: > > When we create one of the unswitch_predicate for the second switch, we h

[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 #7 from Andrew Pinski --- (In reply to Sam James from comment #6) > Simplified a bit: Just some debug: When we create one of the unswitch_predicate for the second switch, we have: true_range: [irange] int [4, 4][6, 6][8, 8] NONZER

[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 #6 from Sam James --- Simplified a bit: ``` int a; int c (int f) { int d = 1; for (int e = 0; e < 3; e++) { switch (f) { case 1: d = 0; case 2: a = 1; break; case 3: __built

[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 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 --- Comment #2 from Andrew Pinski --- 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. In the case of us

[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] 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 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 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 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[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 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 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++/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 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++/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 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 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 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 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 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 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 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 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 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 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++/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 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 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 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 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 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 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] 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 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 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/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] bit_test_cluster 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 #2 from ak at gcc dot gnu.org --- Minimum patch. Only enable the clustering at -O2. diff --git a/gcc/tree-switch-conversion.cc b/gcc/tree-switch-conversion.cc index 00426d46..468b15f1c461 100644 --- a/gcc/tree-switch-conversion.c

[Bug middle-end/117091] bit_test_cluster 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 Last reconfirmed||2024-10-11 Summary|co

[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 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/117089] GCC Segmentation Fault internal compiler error on PPC64EL running with QEMU + chroot

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

[Bug target/117092] [15 regression] gcc.target/aarch64/pr109072_1.c check-function-bodies s16x4_2 fail since r15-4235-gbcccc3221b838e

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

[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 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 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 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 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 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|---

[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/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 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 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 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 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 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/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/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/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 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/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 middle-end/116988] Documentation for local register variables with inline-asm could have better example

2024-10-11 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116988 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

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

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

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

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

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

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86710 --- Comment #3 from GCC Commits --- The master branch has been updated by Jennifer Schmitz : https://gcc.gnu.org/g:4be7d2d340a013d01a47c43d2feb6826d1b67af0 commit r15-4267-g4be7d2d340a013d01a47c43d2feb6826d1b67af0 Author: Jennifer Schmitz Date

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 --- Comment #4 from GCC Commits --- The master branch has been updated by Jennifer Schmitz : https://gcc.gnu.org/g:4be7d2d340a013d01a47c43d2feb6826d1b67af0 commit r15-4267-g4be7d2d340a013d01a47c43d2feb6826d1b67af0 Author: Jennifer Schmitz Dat

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

2024-10-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117085 --- Comment #3 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4ad697bb7f1aad252e1398c6f13eed3fa6d0ca5b commit r15-4265-g4ad697bb7f1aad252e1398c6f13eed3fa6d0ca5b Author: Jonathan Wakely Date:

[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 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 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 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 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] 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 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 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 ada/117087] [15 Regression] Ada bootstrap failure in validate_size since r15-4166-g9fd38cc5d63612

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117087 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Version|unknown

[Bug target/117088] [15 regression] 548.exchange_r regressed by ~11% with -O2 -march=x86-64-v3 on EMR after r15-4225-g70c3db511ba14f

2024-10-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117088 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[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 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/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 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 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 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 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 -

  1   2   >