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
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713
pietro changed:
What|Removed |Added
CC||pietro.gcc at sociotechnical
dot x
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59291
pietro changed:
What|Removed |Added
CC||pietro.gcc at sociotechnical
dot x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737
pietro changed:
What|Removed |Added
CC||pietro.gcc at sociotechnical
dot x
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324
pietro changed:
What|Removed |Added
CC||pietro.gcc at sociotechnical
dot x
10 matches
Mail list logo