https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67030
--- Comment #3 from ktkachov at gcc dot gnu.org --- (In reply to ktkachov from comment #2) > (In reply to Marek Polacek from comment #1) > > Could you please try whether this patch helps? > > > > Trying it out now... Unfortunately still getting the error. One thing I missed out from the original error message is this note: error: self-comparison always evaluates to false [-Werror=tautological-compare] #define SUPPORTS_STACK_ALIGNMENT (MAX_STACK_ALIGNMENT > STACK_BOUNDARY) $SRC/gcc/cfgexpand.c:1268:7: note: in expansion of macro 'SUPPORTS_STACK_ALIGNMENT' if (SUPPORTS_STACK_ALIGNMENT ^ Don't know if that helps.