https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68785
--- Comment #2 from Richard Biener ---
I believe this can happen when native_encode_expr encodes less than the
requested number of bytes (thus the program invokes undefined behavior). In
this case
we read 4 bytes from "" (an empty string).
I'm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68785
--- Comment #1 from Markus Trippelsdorf ---
Created attachment 36952
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36952=edit
unreduced testcase
Here's a reproducer:
trippels@CFARM-IUT-TLSE3 linux % valgrind --track-origins=yes