https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67030
Bug ID: 67030
Summary: [6 Regression] ARM bootstrap failure due to
[-Werror=tautological-compare]
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
CC: mpolacek at gcc dot gnu.org
Target Milestone: ---
Target: arm
I'm getting a bootstrap failure in stage 2 on arm-none-linux-gnueabihf due to
the new warning:
$SRC/gcc/cfgexpand.c: In function 'long long int expand_one_var(tree, bool,
bool)':
$SRC/gcc/defaults.h:1156:55: error: self-comparison always evaluates to false
[-Werror=tautological-compare]
#define SUPPORTS_STACK_ALIGNMENT (MAX_STACK_ALIGNMENT > STACK_BOUNDARY)
Seems we need to be a bit smarter when it comes to macro expansions?