On 1/19/18 12:28 AM, Jakub Jelinek wrote: +#ifndef DEFAULT_INCOMING_FRAME_SP_OFFSET +#define DEFAULT_INCOMING_FRAME_SP_OFFSET INCOMING_FRAME_SP_OFFSET +#endif ... + /* If the current function starts with a non-standard incoming frame + sp offset, emit a note before the first instruction. */ + if (entry + && DEFAULT_INCOMING_FRAME_SP_OFFSET != INCOMING_FRAME_SP_OFFSET) + {
This triggers a warning on s390x: /home/andreas/build/../gcc/gcc/dwarf2cfi.c: In function ‘void scan_trace(dw_trace_info*, bool)’: /home/andreas/build/../gcc/gcc/dwarf2cfi.c:2541:43: error: self-comparison always evaluates to false [-Werror=tautol ogical-compare] 2541 | && DEFAULT_INCOMING_FRAME_SP_OFFSET != INCOMING_FRAME_SP_OFFSET) | ^~ Andreas