[Bug tree-optimization/90906] diagnose returning pointers to freed memory

2022-01-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90906 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/90906] diagnose returning pointers to freed memory

2021-12-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90906 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug tree-optimization/90906] diagnose returning pointers to freed memory

2019-12-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90906 --- Comment #2 from Eric Gallager --- (In reply to Martin Sebor from comment #0) > GCC doesn't diagnose returning a freed pointer as in the function below: > > void* f (void *p) > { > __builtin_free (p); > // ... > return p; >

[Bug tree-optimization/90906] diagnose returning pointers to freed memory

2019-06-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90906 Eric Gallager changed: What|Removed |Added Keywords||diagnostic