aboutsummaryrefslogtreecommitdiff
path: root/gcc/dumpfile.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-12-05 16:59:36 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-03 16:39:14 +0100
commitd9a51b704fe521fecb2e77931226c8e8798a9910 (patch)
tree59d009d0301b141870f6f96d4a46fab523be61cc /gcc/dumpfile.cc
parent9c73f9dcca3b7ed29dd80afea0196729630973be (diff)
downloadgcc-d9a51b704fe521fecb2e77931226c8e8798a9910.zip
gcc-d9a51b704fe521fecb2e77931226c8e8798a9910.tar.gz
gcc-d9a51b704fe521fecb2e77931226c8e8798a9910.tar.bz2
ada: Remove extra checks for raising a constraint error
Routine Is_OK_Static_Expression itself calls Raises_Constraint_Error, so there is no need to call both of these routines in a row. Code cleanup; semantics is unaffected. gcc/ada/ChangeLog: * sem_attr.adb (Check_Array_Type): Remove extra call. * sem_util.adb (Static_Boolean): Likewise.
Diffstat (limited to 'gcc/dumpfile.cc')
0 files changed, 0 insertions, 0 deletions