aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm.c2
-rw-r--r--gcc/config/arm/arm.opt2
-rw-r--r--gcc/doc/invoke.texi2
4 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7116fa6..8887cef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2017-07-23 Michael Collison <michael.collison@arm.com>
+
+ * config/arm/arm.c (arm_option_override): Deprecate
+ use of -mstructure-size-boundary.
+ * config/arm/arm.opt: Deprecate -mstructure-size-boundary.
+ * doc/invoke.texi: Deprecate -mstructure-size-boundary.
+
2017-07-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/80695
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index c3feb49..25677d1 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -3489,6 +3489,8 @@ arm_option_override (void)
}
else
{
+ warning (0, "option %<-mstructure-size-boundary%> is deprecated");
+
if (arm_structure_size_boundary != 8
&& arm_structure_size_boundary != 32
&& !(ARM_DOUBLEWORD_ALIGN && arm_structure_size_boundary == 64))
diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt
index b6c707b..6060516 100644
--- a/gcc/config/arm/arm.opt
+++ b/gcc/config/arm/arm.opt
@@ -192,7 +192,7 @@ Target RejectNegative Alias(mfloat-abi=, soft) Undocumented
mstructure-size-boundary=
Target RejectNegative Joined UInteger Var(arm_structure_size_boundary) Init(DEFAULT_STRUCTURE_SIZE_BOUNDARY)
-Specify the minimum bit alignment of structures.
+Specify the minimum bit alignment of structures. (Deprecated).
mthumb
Target Report RejectNegative Negative(marm) Mask(THUMB) Save
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 2bab550..d71f4e6 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -15714,6 +15714,8 @@ incompatible. Code compiled with one value cannot necessarily expect to
work with code or libraries compiled with another value, if they exchange
information using structures or unions.
+This option is deprecated.
+
@item -mabort-on-noreturn
@opindex mabort-on-noreturn
Generate a call to the function @code{abort} at the end of a