Index: src/AST/Attribute.cpp
===================================================================
--- src/AST/Attribute.cpp	(revision 5bf685f0d09d252adfe4d47e63f8e37b99c421b6)
+++ src/AST/Attribute.cpp	(revision 7abc3de999f40164616d9d6530aca0aba093a66e)
@@ -39,9 +39,8 @@
 bool Attribute::isValidOnFuncParam() const {
 	// Attributes produce GCC errors when they appear on function
-	// parameters. This is an allow-list, switching to a forbid-list would
-	// have to at least mention:
-	// aligned
+	// parameters. Names on the previous allow-list implementation:
+	// unused, noreturn, __vector_size__
 	std::string norm = normalizedName();
-	return norm == "unused" || norm == "noreturn" || norm == "vector_size";
+	return norm != "aligned" && norm != "packed" && norm != "used";
 }
 
