[Bug target/91710] [9/10 Regression] unexpected ABI change note
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 21 05:56:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91710
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Something like:
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index f69cbf992ab..e069c29d18f 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -4908,7 +4908,8 @@ aarch64_function_arg_boundary (machine_mode mode,
const_tree type)
bool abi_break;
unsigned int alignment = aarch64_function_arg_alignment (mode, type,
&abi_break);
- if (abi_break & warn_psabi)
+
+ if (alignment >= STACK_BOUNDARY && abi_break & warn_psabi)
inform (input_location, "parameter passing for argument of type "
"%qT changed in GCC 9.1", type);
More information about the Gcc-bugs
mailing list