https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78155

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> When I run the program, it prints 0 rather than crashing. 

(probably a difference between the Darwin Libc and glibc; it might be worth
investigating what other libcs like musl or uclibc do...)

> Confirming that a warning would be nice though, for portability to platforms
> where it would cause a crash.

Reply via email to