https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999
--- Comment #14 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- Created attachment 34773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34773&action=edit Experimental fix The attached patch is a sketch of a possible fix (at the expense of duplicating some code from printStackRecord() in a separate function). This fixes the problems running the test runtime/pprof on s390 and should also fix the inconsistencies in the printed stack trace.