[Bug analyzer/119749] New: Functions with attribute malloc only warn of possibly-NULL use if attribute has a deallocator

2025-04-11 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119749 Bug ID: 119749 Summary: Functions with attribute malloc only warn of possibly-NULL use if attribute has a deallocator Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug rtl-optimization/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 --- Comment #11 from pietro --- (In reply to Oleg Endo from comment #9) > (In reply to Andrew Pinski from comment #8) > > See > > https://gcc.gnu.org/legacy-ml/gcc-patches/2009-05/msg01233.html > > and > > https://gcc.gnu.org/legacy-ml/gcc-patch

[Bug rtl-optimization/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 --- Comment #10 from pietro --- (In reply to Oleg Endo from comment #6) > Thanks! Can you post that patch to the gcc-patches mailing list? It's more > likely to receive attention and discussion -- which is needed, since this is > outside of SH

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 --- Comment #5 from pietro --- Created attachment 59210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59210&action=edit Add a blockage instruction before the prefetch I did a few tests on sh4-elf and adding a blockage before the prefetch

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-26 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 --- Comment #3 from pietro --- It looks like it's a more general GCC issue. The prefetch gets moved on both x86_64 and aarch64 on GCC, but not on clang: https://godbolt.org/z/Ycjr7Tq8b > It looks like the problem can be "fixed" by inserting a

[Bug target/116713] [SH] __builtin_prefetch can't be used for store queues

2024-09-19 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

[Bug target/59291] [SH] Group T bit related insns before combine

2024-07-04 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59291 --- Comment #3 from pietro --- The following peehole: (define_peephole [(set (match_operand:SI 0 "arith_reg_dest") (plus:SI (match_dup 0) (match_operand:SI 1 "arith_reg_operand"))) (set (match_operand:SI 2 "arith_r

[Bug target/59291] [SH] Group T bit related insns before combine

2024-05-27 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59291 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

[Bug target/101737] SH4 -Os causes internal compiler error when building pixman

2024-02-22 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

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

2021-12-04 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x