Index: /trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp
===================================================================
--- /trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp	(revision 88323)
+++ /trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp	(revision 88324)
@@ -243,11 +243,15 @@
         type_required           : true,
         function_type_required  : true,
-# if RT_GNUC_PREREQ(4, 6)
+// gcc 7.3 at least moves this field to after "handler", and with 8.3 it is back
+#if RT_GNUC_PREREQ(4, 6) && !(RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0))
         affects_type_identity   : false,
 #endif
         handler                 : AttributeHandler,
-# if RT_GNUC_PREREQ(10, 0)
+#if RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0)
+        affects_type_identity   : false,
+#endif
+#if RT_GNUC_PREREQ(8, 0)
         exclude                 : NULL,
-# endif
+#endif
     },
     {
@@ -258,11 +262,14 @@
         type_required           : true,
         function_type_required  : true,
-# if RT_GNUC_PREREQ(4, 6)
+#if RT_GNUC_PREREQ(4, 6) && !(RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0))
         affects_type_identity   : false,
 #endif
         handler                 : AttributeHandler,
-# if RT_GNUC_PREREQ(10, 0)
+#if RT_GNUC_PREREQ(7, 0) && !RT_GNUC_PREREQ(8, 0)
+        affects_type_identity   : false,
+#endif
+#if RT_GNUC_PREREQ(8, 0)
         exclude                 : NULL,
-# endif
+#endif
     }
 };
