https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113270

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Of course, another bug is that the declaration of aarch64_simd_types isn't GTY
marked:
--- gcc/config/aarch64/aarch64-builtins.h.jj    2024-01-03 12:01:17.852557952
+0100
+++ gcc/config/aarch64/aarch64-builtins.h       2024-01-08 14:07:00.475944698
+0100
@@ -94,6 +94,6 @@ struct GTY(()) aarch64_simd_type_info
   enum aarch64_type_qualifiers q;
 };

-extern aarch64_simd_type_info aarch64_simd_types[];
+extern GTY(()) aarch64_simd_type_info aarch64_simd_types[];

 #endif
which means it is then ignored on the definition as well.
But with the above 2 patches it fails to build because it then tries to include
aarch64_simd_types references in gtype-desc.cc but doesn't include there that
header.

Reply via email to