|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug gas/31464] GCC 6.4 failed to build binutils |
Date: | Fri, 08 Mar 2024 16:12:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31464 --- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=03fa0c63d3a5944afcf031ecf0b433b2985e6eeb commit 03fa0c63d3a5944afcf031ecf0b433b2985e6eeb Author: H.J. Lu <hjl.tools@gmail.com> Date: Fri Mar 8 08:08:02 2024 -0800 gas: Fix x86 build with GCC 6.4 Add "()" to silence GCC 6.4: .../gas/config/tc-i386.c: In function âx86_ginsn_leaâ: .../gas/config/tc-i386.c:5738:19: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] if (!i.base_reg != (!i.index_reg || i.index_reg->reg_num == RegIZ)) ^~ cc1: all warnings being treated as errors PR gas/31464 * config/tc-i386.c (x86_ginsn_lea): Add "()" to silence GCC 6.4. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |