[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 --- Comment #2 from Li Shaohua --- Sure: (compiler explorer: https://godbolt.org/z/3qEavnan5) % cat a.c int a; char b; int *c = &a, *d; long e; int main() { long *f = &e; { int g=0; d = &g; } *d << (b = ((*f)--, c || *d)); } %

[Bug sanitizer/108510] ASAN missed a stack-use-after-scope at -O1

2023-01-24 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108510 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|