diff options
author | Michael Collison <michael.collison@arm.com> | 2017-07-23 23:07:12 +0000 |
---|---|---|
committer | Michael Collison <collison@gcc.gnu.org> | 2017-07-23 23:07:12 +0000 |
commit | 33cd5f8f424cc16dad99b5dc54854b8c5fdb8287 (patch) | |
tree | d8ad8b8de53ab76df56f5b76eda31637ebc3c4a2 /gcc | |
parent | 5bbf7664c3e26292702d9d7b37d6a1f872f8b5ea (diff) | |
download | gcc-33cd5f8f424cc16dad99b5dc54854b8c5fdb8287.zip gcc-33cd5f8f424cc16dad99b5dc54854b8c5fdb8287.tar.gz gcc-33cd5f8f424cc16dad99b5dc54854b8c5fdb8287.tar.bz2 |
arm.c (arm_option_override): Deprecate use of -mstructure-size-boundary.
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.
From-SVN: r250465
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm.opt | 2 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 2 |
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 |