aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2002-05-08 22:37:21 +0000
committerJanis Johnson <janis@gcc.gnu.org>2002-05-08 22:37:21 +0000
commit2d4cc6a7ce8825ded5975bbadbc4c2e6fe822813 (patch)
treee27f3b369f1a463345b6cf679d7ee21561c952e5 /gcc/rtl.c
parentea45dbb8e7cc710e17a273b44b49483c130ecd5d (diff)
downloadgcc-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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 2b816d7..f88547d 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 */