aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cacaeea..125d54a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-11 Alan Modra <amodra@gmail.com>
+
+ * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
+ positive "‘profile’ may be used uninitialized".
+
2018-01-10 Jan Beulich <jbeulich@suse.com>
* testsuite/gas/i386/avx512_4fmaps.s,
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 0b81c19..0e16688 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -27104,7 +27104,7 @@ found:
static void
aeabi_set_public_attributes (void)
{
- char profile;
+ char profile = '\0';
int arch = -1;
int virt_sec = 0;
int fp16_optional = 0;