https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103467
--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> --- Sorry for the probably misleading description. This PR is indeed filed against x86_64, "alpha" there means "pre-release gcc version". MALLOC_PERTURB_ and MALLOC_CHECK_ handling is implemented by glibc and is glibc-specific. Valgrind should be able to demonstrate the problem at least on x86_64, but likely universally. gcc really ICEs only under glibc checking. It compiles the testcase w/o any checking or when run under valgrind, but in latter case valgrind highlights invalid reads in its summary report.