diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 22:37:21 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-08 22:37:21 +0000 |
commit | 3c6858c6169ed36dd70ecafe5d9287a98dc7cc74 (patch) | |
tree | e27f3b369f1a463345b6cf679d7ee21561c952e5 /gcc/rtl.c | |
parent | 7d4f3acc7f6dc73fb6867f5ac59a7a647ceac66a (diff) | |
download | gcc-3c6858c6169ed36dd70ecafe5d9287a98dc7cc74.tar.gz |
* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
and use it in all invocations of these macros. Clean up comments.
* rtl.c (rtl_check_failed_flag): Add an argument for the name
of the flag access macro whose check failed.
* doc/rtl.texi (Flags): Document additional flag uses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c index 2b816d7808b..f88547dd79e 100644 --- a/gcc/rtl.c +++ b/gcc/rtl.c @@ -641,14 +641,15 @@ rtvec_check_failed_bounds (r, n, file, line, func) #if defined ENABLE_RTL_FLAG_CHECKING void -rtl_check_failed_flag (r, file, line, func) +rtl_check_failed_flag (name, r, file, line, func) + const char *name; rtx r; const char *file; int line; const char *func; { internal_error - ("RTL flag check: access macro used with unexpected rtx code `%s' in %s, at %s:%d", - GET_RTX_NAME (GET_CODE (r)), func, trim_filename (file), line); + ("RTL flag check: %s used with unexpected rtx code `%s' in %s, at %s:%d", + name, GET_RTX_NAME (GET_CODE (r)), func, trim_filename (file), line); } #endif /* ENABLE_RTL_FLAG_CHECKING */ |