diff options
author | Janis Johnson <janis187@us.ibm.com> | 2002-05-08 22:37:21 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2002-05-08 22:37:21 +0000 |
commit | 2d4cc6a7ce8825ded5975bbadbc4c2e6fe822813 (patch) | |
tree | e27f3b369f1a463345b6cf679d7ee21561c952e5 /gcc/rtl.c | |
parent | ea45dbb8e7cc710e17a273b44b49483c130ecd5d (diff) | |
download | gcc-2d4cc6a7ce8825ded5975bbadbc4c2e6fe822813.zip gcc-2d4cc6a7ce8825ded5975bbadbc4c2e6fe822813.tar.gz gcc-2d4cc6a7ce8825ded5975bbadbc4c2e6fe822813.tar.bz2 |
rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, and use it in all invocations of these macros.
* 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.
From-SVN: r53306
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 */ |