This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jul 2015 16:43:13 +0000
- Subject: [Bug bootstrap/67030] [6 Regression] ARM bootstrap failure due to [-Werror=tautological-compare]
- Auto-submitted: auto-generated
- References: <bug-67030-4 at http dot gcc dot gnu dot org/bugzilla/>
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.