public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/guojiufu/heads/guojiufu-branch)] [Ada] Add debugging message
@ 2020-06-10 3:48 Jiu Fu Guo
0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-06-10 3:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:338c32f1375440aaeb66c65d5d40906a388d20c8
commit 338c32f1375440aaeb66c65d5d40906a388d20c8
Author: Bob Duff <duff@adacore.com>
Date: Thu Feb 27 10:49:47 2020 -0500
[Ada] Add debugging message
2020-06-09 Bob Duff <duff@adacore.com>
gcc/ada/
* bindo-graphs.adb (Add_Edge_Kind_Check): Add the Image of the
old and new Kinds to the raise Program_Error message.
Diff:
---
gcc/ada/bindo-graphs.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/bindo-graphs.adb b/gcc/ada/bindo-graphs.adb
index a720c0f6187..7cb6edf0041 100644
--- a/gcc/ada/bindo-graphs.adb
+++ b/gcc/ada/bindo-graphs.adb
@@ -1824,7 +1824,7 @@ package body Bindo.Graphs is
end case;
if not OK then
- raise Program_Error;
+ raise Program_Error with Kind'Img & "-->" & Attributes.Kind'Img;
end if;
end Add_Edge_Kind_Check;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-10 3:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 3:48 [gcc(refs/users/guojiufu/heads/guojiufu-branch)] [Ada] Add debugging message Jiu Fu Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).