aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2024-02-21 11:17:14 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-02-23 11:18:40 +0800
commit33abf74108f37fb7792572e538617fd15c8ade29 (patch)
treec58d0312e7d24c3881a70b64fab58395e4fa929f /gcc/expr.cc
parent77de8b722db811e0d95af503552cd2acad8deaad (diff)
downloadgcc-33abf74108f37fb7792572e538617fd15c8ade29.zip
gcc-33abf74108f37fb7792572e538617fd15c8ade29.tar.gz
gcc-33abf74108f37fb7792572e538617fd15c8ade29.tar.bz2
LoongArch: When checking whether the assembler supports conditional branch relaxation, add compilation parameter "--fatal-warnings" to the assembler.
In binutils 2.40 and earlier versions, only a warning will be reported when a relocation immediate value is out of bounds. As a result, the value of the macro HAVE_AS_COND_BRANCH_RELAXATION will also be defined as 1 when the assembler does not support conditional branch relaxation. Therefore, add the compilation option "--fatal-warnings" to avoid this problem. gcc/ChangeLog: * configure: Regenerate. * configure.ac: Add parameter "--fatal-warnings" to assemble when checking whether the assemble support conditional branch relaxation.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions