From f664bd07f081d08a3c30b95eab01e7ed1329700c Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Tue, 5 May 2020 14:18:13 +0000 Subject: [PATCH] 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 gcc/ * config/arm/arm.c (thumb1_expand_prologue): Update error message. --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 072ad082852..6b707cd1f08 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2020-05-14 Christophe Lyon + + * config/arm/arm.c (thumb1_expand_prologue): Update error message. + 2020-05-14 Uroš Bizjak PR target/95046 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 56d6be02996..98abda6a6f0 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; } -- 2.30.2