diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-12-09 17:57:16 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-01-11 13:24:45 +0000 |
commit | e306ed45b58e7210021a8a74d453ee1b2a75ed30 (patch) | |
tree | 3f8d2ebc2022ae9794443531d0d389da79712317 /gcc/cppdefault.h | |
parent | 45742b619285f53db63153ad094d12dc98504e4b (diff) | |
download | gcc-e306ed45b58e7210021a8a74d453ee1b2a75ed30.zip gcc-e306ed45b58e7210021a8a74d453ee1b2a75ed30.tar.gz gcc-e306ed45b58e7210021a8a74d453ee1b2a75ed30.tar.bz2 |
[Ada] Remove warnings-as-errors about constraints error in dead code
gcc/ada/
* erroutc.ads, erroutc.adb (Is_Runtime_Raise): Global flag to
connect status of initial messages and their continuation; we
already have several flags like this.
(Error_Msg_Object): Add field Warn_Runtime_Raise to connect
error reporting (when problematic code is found) and removal
(when problematic code is determined to be dead).
* errout.adb (Error_Msg_Internal): Handle new field when
recording a continuation message; propagate status from
continuation to the preceding messages.
(To_Be_Removed): For dead code remove both simple warnings and
warnings about constraint errors that have been escalated to
hard errors.
(Set_Msg_Text): Recognize warnings about constraint errors that
are escalated to hard errors.
* errutil.adb (Error_Msg): Handle added field when recording a
new message.
Diffstat (limited to 'gcc/cppdefault.h')
0 files changed, 0 insertions, 0 deletions