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

--- Comment #10 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 63457
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63457&action=edit
rel-p.tar.xz

OK:
1. Build llvm+clang using `build-llvm`
2. Grab my new attachment (rel-p.tar.xz)
3. tar xvf rel-p.tar.xz && cd rel-p
4. CLANG=/home/sam/data/build/llvm-project-test/bin/clang-21 valgrind -q
--trace-children=yes ./relative-pointer-unstable-v1-protocol-e89600.sh

That should spew a bunch of invalid reads because Clang is miscompiled.

The miscompiled object itself in Clang is MacroArgs.cpp.o and its preprocessed
source is MacroArgs.cpp.ii.xz in this bug.

If needed, I can arrange access to a machine where I can reproduce this for you
too. Or let me know if you have more questions. Cheers!

Reply via email to