aboutsummaryrefslogtreecommitdiff
path: root/libcc1
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-12-05 17:22:19 +0100
committerMarc Poulhiès <poulhies@adacore.com>2022-12-06 14:58:48 +0100
commit188965afb10a2bf14527f2aa9f9cb0f8fcc991e9 (patch)
tree901c6ed83703c0963add1354912927fe5419b25d /libcc1
parent0cb36c85ab0c9876dde207d5b93aad7398539c7e (diff)
downloadgcc-188965afb10a2bf14527f2aa9f9cb0f8fcc991e9.zip
gcc-188965afb10a2bf14527f2aa9f9cb0f8fcc991e9.tar.gz
gcc-188965afb10a2bf14527f2aa9f9cb0f8fcc991e9.tar.bz2
ada: Suppress warning for specific constant valid condition
Like in Exp_Ch4, we do not want to give warnings in Sem_Warn on a membership test with a mark for a subtype that is predicated. gcc/ada/ * sem_warn.adb (Warn_On_Constant_Valid_Condition): Bail out for a membership test with a mark for a subtype that is predicated.
Diffstat (limited to 'libcc1')
0 files changed, 0 insertions, 0 deletions