aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2024-04-11 19:43:44 +0000
committerMarc Poulhiès <poulhies@adacore.com>2024-06-10 11:04:01 +0200
commit5ae21dd349bfd3a48a63c448cab83c5da251898f (patch)
tree17d8fa58c67d1719f290cbba856e98d6060bf117 /gcc/tree-vect-loop.cc
parentd8e73ea45fbda12931c90d2b703332dec0e22395 (diff)
downloadgcc-5ae21dd349bfd3a48a63c448cab83c5da251898f.zip
gcc-5ae21dd349bfd3a48a63c448cab83c5da251898f.tar.gz
gcc-5ae21dd349bfd3a48a63c448cab83c5da251898f.tar.bz2
ada: Missing style check for extra parentheses in operators
This patch fixes an issue in the compiler whereby wrapping an operand of a boolean operator resulted in a failure to detect whether or not they were unnecessary for the -gnatyx style checks. gcc/ada/ * ali.adb (Get_Nat): Remove unnecessary parentheses. * exp_ch11.adb (Expand_Local_Exception_Handlers): Remove unnecessary parentheses. * freeze.adb (Freeze_Entity): Remove unnecessary parentheses. * lib-list.adb (List): Remove unnecessary parentheses. * par-ch5.adb (P_Condition): Add extra parentheses checks on condition operands. * sem_ch3.adb (Add_Interface_Tag_Components): Remove unnecessary parentheses. (Check_Delta_Expression): Remove unnecessary parenthesis. (Check_Digits_Expression): Remove unnecessary parentheses. * sem_ch12.adb (Validate_Array_Type_Instance): Remove unnecessary parentheses.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions