[Bug target/86792] microblaze port needs updating for CVE-2017-5753

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86792 --- Comment #1 from Sam James --- r14-11803-gf644e21ee36440 fixes this but it's missing on releases/gcc-15 and trunk...

[Bug target/120429] New: pcmpeqd isn't used for all 1s in *movv2si_internal

2025-05-24 Thread hjl.tools at gmail dot com via Gcc-bugs
movl$1, 16(%eax) movl$-1, 20(%eax) movq%xmm0, 24(%eax) ret .cfi_endproc .LFE0: .size foo, .-foo .section.rodata.cst8,"aM",@progbits,8 .align 8 .LC1: .long -1 .long -1 .ident "G

[Bug target/120428] [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug target/120428] New: [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy

2025-05-24 Thread shawn at shawnxu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120428 Bug ID: 120428 Summary: [15/16 regression] Suboptimal autovec involving blocked permutation and std::copy Product: gcc Version: 15.1.1 Status: UNCONFIRMED Seve

[Bug tree-optimization/120425] [12/13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #8 from Andrew Pinski --- (In reply to Sam James from comment #5) > r12-476-gd846f225c25c58 What Fre1 is doing seems to be ok and correct: Working (GCC 11): _3 = -f_9; ... _2 = -1211051206 - _3; Vs not working (GCC 12+): _3 =

[Bug tree-optimization/120425] [12/13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #5) > r12-476-gd846f225c25c58 I think that just exposed the issue. My gimple testcase can only go back to GCC 9 which fails also.

[Bug tree-optimization/120425] [12/13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #6 from Andrew Pinski --- Created attachment 61517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61517&action=edit Gimple testcase that fails before GCC 12

[Bug target/119083] Remove SSE_FIRST_REG from ix86_class_likely_spilled_p

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119083 Sam James changed: What|Removed |Added Keywords||patch --- Comment #11 from Sam James --- h

[Bug target/118996] Should TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P return false for x86-64?

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118996 Sam James changed: What|Removed |Added Keywords||plugin --- Comment #17 from Sam James ---

[Bug rtl-optimization/111143] [missed optimization] unlikely code slows down diffutils x86-64 ASCII processing

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43 Sam James changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/110823] [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 Sam James changed: What|Removed |Added Last reconfirmed||2025-05-25 Ever confirmed|0

[Bug target/71657] Wrong code on trunk gcc (std::out_of_range), westmere

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71657 --- Comment #15 from Sam James --- (In reply to Sam James from comment #14) > /* Disabled due to PRs 70902, 71453, 71555, 71596 and 71657. */ > > All of those except for PR71453 were dependent on tom's fix (PR83327) so > should be ready to revi

[Bug target/109982] csmith: x86_64: znver1 issues

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109982 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2)

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539 Sam James changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/120424] [arm] -fnon-call-exceptions -fstack-clash-protection triggers lra-eliminations bug

2025-05-24 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 --- Comment #3 from Alexandre Oliva --- err, make that PR118939

[Bug middle-end/118939] [14/15/16 Regression] ada: executable segfaults on arm-linux-gnueabi when assigning an access to controlled type since r14-2653-g2971ff7b1d564a

2025-05-24 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118939 Alexandre Oliva changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug target/120424] [arm] -fnon-call-exceptions -fstack-clash-protection triggers lra-eliminations bug

2025-05-24 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 --- Comment #2 from Alexandre Oliva --- Created attachment 61516 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61516&action=edit candidate patch This patch likely fixes bug 118929 as well.

[Bug target/120427] [12/13/14/15/16 Regression] "and $0,mem" is generated without -Oz since r12-6106-gef26c151c14a87

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120427 Sam James changed: What|Removed |Added Keywords||missed-optimization Summary|[12/

[Bug target/86772] [meta-bug] tracking port status for CVE-2017-5753

2025-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86772 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Michael Eager : https://gcc.gnu.org/g:f644e21ee364405213a8609bbd8371c27fdb69d9 commit r14-11803-gf644e21ee364405213a8609bbd8371c27fdb69d9 Author: Michael J. Eage

[Bug tree-optimization/120426] XMM store isn't used

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120426 --- Comment #4 from Andrew Pinski --- (In reply to H.J. Lu from comment #3) > (In reply to Andrew Pinski from comment #2) > > With -mtune=sapphirerapids we get: > > > >[local count: 1073741824]: > > MEM [(union *)lock_2(D)] = 0; > > M

[Bug tree-optimization/120426] XMM store isn't used

2025-05-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120426 --- Comment #3 from H.J. Lu --- (In reply to Andrew Pinski from comment #2) > With -mtune=sapphirerapids we get: > >[local count: 1073741824]: > MEM [(union *)lock_2(D)] = 0; > MEM [(union *)lock_2(D) + 8B] = 0; > MEM [(union *)

[Bug tree-optimization/120425] [12/13/14/15/16 regression] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1 since r12-476-gd846f225c25c58

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15/16 regress

[Bug tree-optimization/120426] XMM store isn't used

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120426 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/120426] XMM store isn't used

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120426 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-05-25 Status|UNCONFIRM

[Bug target/120427] [12/13/14/15/16 Regression] "and $0,mem" is generated without -Oz

2025-05-24 Thread hjl.tools at gmail dot com via Gcc-bugs
$0, (%rdi,%rax,8) andq$0, 8(%rdi,%rax,8) movups %xmm0, 24(%rdi,%rax,8) ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (GNU) 16.0.0 20250524 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-zen4-1 pr117839]$

[Bug target/120427] New: [12/13/14/15/16 Regression] "and $0, mem" is generated without -Oz

2025-05-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120427 Bug ID: 120427 Summary: [12/13/14/15/16 Regression] "and $0,mem" is generated without -Oz Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug target/120426] New: XMM store isn't used

2025-05-24 Thread hjl.tools at gmail dot com via Gcc-bugs
di) ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (GNU) 16.0.0 20250524 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-zen4-1 pr117839]$ cat dl-1-spr.s .file "dl-1.c" .text .p2al

[Bug tree-optimization/120425] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 Andrew Pinski changed: What|Removed |Added Known to work||11.4.0 Last reconfirmed|

[Bug target/120424] [arm] -fnon-call-exceptions -fstack-clash-protection triggers lra-eliminations bug

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/120425] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #3 from Andrew Pinski --- Created attachment 61515 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61515&action=edit Semi reduced Removed the arrays

[Bug tree-optimization/120425] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1

2025-05-24 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #2 from congli --- (In reply to Andrew Pinski from comment #1) > I don't get a seg fault but an abort. Seems like you are true. The Compiler Explore shows segfault but I also got an abort on one of my server. Since it is a reduced v

[Bug middle-end/120425] GCC-compiled (with -O{1,2,s,3}) program got segfault from GCC 12.1

2025-05-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 --- Comment #1 from Andrew Pinski --- I don't get a seg fault but an abort.

[Bug c/120425] New: GCC-compiled with -O{1,2,s,3} program got segfault from GCC 12.1

2025-05-24 Thread congli at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120425 Bug ID: 120425 Summary: GCC-compiled with -O{1,2,s,3} program got segfault from GCC 12.1 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c++/120320] g++ freezes forever

2025-05-24 Thread gessos.paul at yahoo dot gr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120320 --- Comment #4 from Chameleon --- Indeed, avoiding determining which of these partial specializations is most constrained, fixes the problem. But, the failed algorithm, if not fixed to handle HUGE DNF/CNF constraints, at least it must produce a

[Bug target/120424] New: [arm] -fnon-call-exceptions -fstack-clash-protection triggers lra-eliminations bug

2025-05-24 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120424 Bug ID: 120424 Summary: [arm] -fnon-call-exceptions -fstack-clash-protection triggers lra-eliminations bug Product: gcc Version: 14.2.1 Status: UNCONFIRMED Sev

[Bug target/120423] New: ICE in avr-gcc extract_constrain_insn

2025-05-24 Thread thierer at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120423 Bug ID: 120423 Summary: ICE in avr-gcc extract_constrain_insn Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug libstdc++/112349] ranges::min/max make unnecessary copies

2025-05-24 Thread ted at lyncon dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 --- Comment #6 from Ted Lyngmo --- I think this can be closed. I think this was fixed in 14.2.1 if I'm not mistaken.

[Bug cobol/120422] Reducing strcmp() and strlen() gcc/cobol/genapi.cc at f3a62dcfc96cb24127385a7e668133e037b6085d

2025-05-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120422 --- Comment #1 from Sam James --- Please send patches to gcc-patches@ (https://gcc.gnu.org/contribute.html) once they're ready. It's okay to include WIP stuff on Bugzilla, but patches on BZ won't get reviewed seriously or applied.

[Bug preprocessor/120421] -save-temps affects diagnostic position

2025-05-24 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120421 --- Comment #6 from nightstrike --- (In reply to Andrew Pinski from comment #2) > Dup. > > *** This bug has been marked as a duplicate of bug 95695 *** Respectfully, I don't think this is a duplicate of a bug that was resolved as invalid. Tha

[Bug cobol/120422] New: Reducing strcmp() and strlen() gcc/cobol/genapi.cc at f3a62dcfc96cb24127385a7e668133e037b6085d

2025-05-24 Thread kaelfandrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120422 Bug ID: 120422 Summary: Reducing strcmp() and strlen() gcc/cobol/genapi.cc at f3a62dcfc96cb24127385a7e668133e037b6085d Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug tree-optimization/120383] Improving early break unrolled sequences with Adv. SIMD

2025-05-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120383 --- Comment #2 from Tamar Christina --- (In reply to Richard Biener from comment #1) > Sure, I'm OK with an optab for it. So it's like (half-type)((unsigned)(a + > b) >> (sizeof(a)*4))? Yeah, and I was planning on if an optab was acceptable to

[Bug tree-optimization/120357] [14/15/16 Regression] ICE in vect "error: definition in block 9 does not dominate use in block 3" with early break

2025-05-24 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120357 --- Comment #7 from Tamar Christina --- (In reply to Richard Biener from comment #5) > Confirmed on trunk. I'll eventually have a look. Sorry I'm on holiday till Tuesday, I'm happy to take a look then if you prefer. I did not mean to dump my b

[Bug target/120417] gcc -m32 -O1 codegen error, leading to SIGSEGV, workaround -fno-tree-coalesce-vars

2025-05-24 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120417 --- Comment #3 from Simon Sobisch --- Created attachment 61511 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61511&action=edit save-temps: preprocessed and assembly

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-05-24 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 Dimitar Dimitrov changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/99832] std::chrono::system_clock::to_time_t needs ABI tag for 32-bit time_t

2025-05-24 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99832 --- Comment #9 from John David Anglin --- Created attachment 61510 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61510&action=edit Revised Debian Patch