]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove Warn_Runtime_Raise attribute from Error_Msg_Object
authorViljar Indus <indus@adacore.com>
Mon, 11 Nov 2024 09:01:12 +0000 (11:01 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 26 Nov 2024 09:49:35 +0000 (10:49 +0100)
commit9fb54f47d0f5c149c94e86def16e538460ce3636
treec5cd0f4bc436e16eab847e1f5d0ccf8f939ef5bd
parent8d0bb808f632eea52548df59e36c1b479c64c45b
ada: Remove Warn_Runtime_Raise attribute from Error_Msg_Object

The goal of this attribute is to raise a warning to an error when
the -gnatwE flag is used. This is similar to the existing warnings
as error behavior under the Warn_Err flag so it can be merged.

gcc/ada/ChangeLog:

* errout.adb: Set Warn_Err as true if Is_Runtime_Error was
set in the error message.
* erroutc.adb: Remove instances of Warn_Runtime_Raise.
* erroutc.ads: Likewise.
* errutil.adb: Likewise.
gcc/ada/errout.adb
gcc/ada/erroutc.adb
gcc/ada/erroutc.ads
gcc/ada/errutil.adb