summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 1ad5b3c4b82..7cc339d4c6a 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -1085,7 +1085,7 @@ read_rtx (infile)
{
char line_name[20];
const char *fn = (read_rtx_filename ? read_rtx_filename : "rtx");
- char *slash;
+ const char *slash;
for (slash = fn; *slash; slash ++)
if (*slash == '/' || *slash == '\\' || *slash == ':')
fn = slash + 1;