aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-05-05 14:18:13 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-05-14 15:34:30 +0000
commitf664bd07f081d08a3c30b95eab01e7ed1329700c (patch)
tree71aba03a644473d176f72757e906b07b5c31d996
parent68f1d74ff92c0579981b615335456e0578af6e32 (diff)
downloadgcc-f664bd07f081d08a3c30b95eab01e7ed1329700c.zip
gcc-f664bd07f081d08a3c30b95eab01e7ed1329700c.tar.gz
gcc-f664bd07f081d08a3c30b95eab01e7ed1329700c.tar.bz2
arm.c: Clarify error message in thumb1_expand_prologue
While running the tests with -march=armv5t -mthumb, I came across this error message which I think could be clearer. 2020-05-14 Christophe Lyon <christophe.lyon@linaro.org> gcc/ * config/arm/arm.c (thumb1_expand_prologue): Update error message.
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 072ad08..6b707cd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-05-14 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * config/arm/arm.c (thumb1_expand_prologue): Update error message.
+
2020-05-14 Uroš Bizjak <ubizjak@gmail.com>
PR target/95046
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 56d6be0..98abda6 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -26501,7 +26501,7 @@ thumb1_expand_prologue (void)
if (IS_INTERRUPT (func_type))
{
- error ("interrupt Service Routines cannot be coded in Thumb mode");
+ error ("Interrupt Service Routines cannot be coded in Thumb-1 mode");
return;
}