From 8439e866a38399f0d5e6aab16faaf10bdabc4b5f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 3 Feb 2022 14:34:21 +0100 Subject: [PATCH] arm: Fix up help.exp regression On Thu, Jan 20, 2022 at 11:27:20AM +0000, Richard Earnshaw via Gcc-patches wrote: > gcc/ChangeLog: > > * config/arm/arm.opt (mfix-cortex-a57-aes-1742098): New command-line > option. > (mfix-cortex-a72-aes-1655431): New option alias. > --- a/gcc/config/arm/arm.opt > +++ b/gcc/config/arm/arm.opt > @@ -272,6 +272,16 @@ mfix-cmse-cve-2021-35465 > Target Var(fix_vlldm) Init(2) > Mitigate issues with VLLDM on some M-profile devices (CVE-2021-35465). > > +mfix-cortex-a57-aes-1742098 > +Target Var(fix_aes_erratum_1742098) Init(2) Save > +Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72. > +Arm erratum #1742098 > + > +mfix-cortex-a72-aes-1655431 > +Target Alias(mfix-cortex-a57-aes-1742098) > +Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72. > +Arm erratum #1655431 > + > munaligned-access > Target Var(unaligned_access) Init(2) Save > Enable unaligned word and halfword accesses to packed data. This breaks: Running /usr/src/gcc/gcc/testsuite/gcc.misc-tests/help.exp ... FAIL: compiler driver --help=target option(s): "^ +-.*[^:.]$" absent from output: " -mfix-cortex-a57-aes-1742098 Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72. Arm erratum #1742098" help.exp with help of lib/options.exp tests whether all non-empty descriptions of options are terminated with . or :. 2022-02-03 Jakub Jelinek * config/arm/arm.opt (mfix-cortex-a57-aes-1742098, mfix-cortex-a72-aes-1655431): Ensure description ends with full stop. --- gcc/config/arm/arm.opt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt index cc16534..3209b6c 100644 --- a/gcc/config/arm/arm.opt +++ b/gcc/config/arm/arm.opt @@ -274,13 +274,13 @@ Mitigate issues with VLLDM on some M-profile devices (CVE-2021-35465). mfix-cortex-a57-aes-1742098 Target Var(fix_aes_erratum_1742098) Init(2) Save -Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72. -Arm erratum #1742098 +Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72 +(Arm erratum #1742098). mfix-cortex-a72-aes-1655431 Target Alias(mfix-cortex-a57-aes-1742098) -Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72. -Arm erratum #1655431 +Mitigate issues with AES instructions on Cortex-A57 and Cortex-A72 +(Arm erratum #1655431). munaligned-access Target Var(unaligned_access) Init(2) Save -- 2.7.4