regenerated
diff --git a/tests/50-constraint-OK.asn1.-Pgen-PER b/tests/50-constraint-OK.asn1.-Pgen-PER
index 1764553..e836816 100644
--- a/tests/50-constraint-OK.asn1.-Pgen-PER
+++ b/tests/50-constraint-OK.asn1.-Pgen-PER
@@ -272,7 +272,7 @@
 
 /*** <<< CTDEFS [Int2] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Int2_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Int2_constr_1 GCC_NOTUSED = {
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (0..MAX) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -439,7 +439,7 @@
 
 /*** <<< CTDEFS [Int3] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Int3_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Int3_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 4,  4,  0,  10 }	/* (0..10) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -606,7 +606,7 @@
 
 /*** <<< CTDEFS [Int4] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Int4_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Int4_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED | APC_EXTENSIBLE,  4,  4,  1,  10 }	/* (1..10,...) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -773,7 +773,7 @@
 
 /*** <<< CTDEFS [Int5] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Int5_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Int5_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 0,  0,  5,  5 }	/* (5..5) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -940,7 +940,7 @@
 
 /*** <<< CTDEFS [ExtensibleExtensions] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_ExtensibleExtensions_constr_1 = {
+static asn_per_constraints_t asn_PER_type_ExtensibleExtensions_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED | APC_EXTENSIBLE,  8,  8,  1,  256 }	/* (1..256,...) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -1267,7 +1267,7 @@
 
 /*** <<< CTDEFS [Str2] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Str2_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Str2_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 7,  7,  0,  127 }	/* (0..127) */,
 	{ APC_CONSTRAINED,	 5,  5,  0,  30 }	/* (SIZE(0..30)) */,
 	0, 0	/* No PER character map necessary */
@@ -1476,7 +1476,7 @@
 
 /*** <<< CTDEFS [Str3] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Str3_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Str3_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 3,  3,  65,  102 }	/* (65..102) */,
 	{ APC_CONSTRAINED,	 5,  5,  10,  27 }	/* (SIZE(10..27)) */,
 	asn_PER_MAP_Str3_1_v2c,	/* Value to PER code map */
@@ -1659,7 +1659,7 @@
 
 /*** <<< CTDEFS [Str4] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Str4_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Str4_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 7,  7,  0,  127 }	/* (0..127) */,
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -1841,7 +1841,7 @@
 
 /*** <<< CTDEFS [PER-Visible] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_PER_Visible_constr_1 = {
+static asn_per_constraints_t asn_PER_type_PER_Visible_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 3,  3,  65,  70 }	/* (65..70) */,
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -2023,7 +2023,7 @@
 
 /*** <<< CTDEFS [PER-Visible-2] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_PER_Visible_2_constr_1 = {
+static asn_per_constraints_t asn_PER_type_PER_Visible_2_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 1,  1,  69,  70 }	/* (69..70) */,
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -2205,7 +2205,7 @@
 
 /*** <<< CTDEFS [Not-PER-Visible-1] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Not_PER_Visible_1_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Not_PER_Visible_1_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 3,  3,  65,  70 }	/* (65..70) */,
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -2387,7 +2387,7 @@
 
 /*** <<< CTDEFS [Not-PER-Visible-2] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Not_PER_Visible_2_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Not_PER_Visible_2_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -2569,7 +2569,7 @@
 
 /*** <<< CTDEFS [Not-PER-Visible-3] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Not_PER_Visible_3_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Not_PER_Visible_3_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -2754,7 +2754,7 @@
 
 /*** <<< CTDEFS [SIZE-but-not-FROM] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_SIZE_but_not_FROM_constr_1 = {
+static asn_per_constraints_t asn_PER_type_SIZE_but_not_FROM_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_CONSTRAINED,	 2,  2,  1,  4 }	/* (SIZE(1..4)) */,
 	0, 0	/* No PER character map necessary */
@@ -2939,7 +2939,7 @@
 
 /*** <<< CTDEFS [SIZE-and-FROM] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_SIZE_and_FROM_constr_1 = {
+static asn_per_constraints_t asn_PER_type_SIZE_and_FROM_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 2,  2,  65,  68 }	/* (65..68) */,
 	{ APC_CONSTRAINED,	 2,  2,  1,  4 }	/* (SIZE(1..4)) */,
 	0, 0	/* No PER character map necessary */
@@ -3121,7 +3121,7 @@
 
 /*** <<< CTDEFS [Neither-SIZE-nor-FROM] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Neither_SIZE_nor_FROM_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Neither_SIZE_nor_FROM_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 3,  3,  65,  70 }	/* (65..70) */,
 	{ APC_SEMI_CONSTRAINED,	-1, -1,  0,  0 }	/* (SIZE(0..MAX)) */,
 	0, 0	/* No PER character map necessary */
@@ -3297,7 +3297,7 @@
 
 /*** <<< CTDEFS [Utf8-4] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Utf8_4_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Utf8_4_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -3501,7 +3501,7 @@
 
 /*** <<< CTDEFS [Utf8-3] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Utf8_3_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Utf8_3_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -3675,7 +3675,7 @@
 
 /*** <<< CTDEFS [Utf8-2] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Utf8_2_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Utf8_2_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -4262,22 +4262,22 @@
 
 /*** <<< CTDEFS [Sequence] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_enum_c_constr_6 = {
+static asn_per_constraints_t asn_PER_type_enum_c_constr_6 GCC_NOTUSED = {
 	{ APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }	/* (0..1,...) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
 };
-static asn_per_constraints_t asn_PER_memb_int1_c_constr_2 = {
+static asn_per_constraints_t asn_PER_memb_int1_c_constr_2 GCC_NOTUSED = {
 	{ APC_SEMI_CONSTRAINED,	-1, -1, -2,  0 }	/* (-2..MAX) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
 };
-static asn_per_constraints_t asn_PER_memb_int4_c_constr_4 = {
+static asn_per_constraints_t asn_PER_memb_int4_c_constr_4 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 2,  2,  5,  7 }	/* (5..7) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
 };
-static asn_per_constraints_t asn_PER_memb_int5_c_constr_13 = {
+static asn_per_constraints_t asn_PER_memb_int5_c_constr_13 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 0,  0,  5,  5 }	/* (5..5) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -4512,7 +4512,7 @@
 
 /*** <<< CTDEFS [SequenceOf] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_SequenceOf_constr_1 = {
+static asn_per_constraints_t asn_PER_type_SequenceOf_constr_1 GCC_NOTUSED = {
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	{ APC_CONSTRAINED,	 1,  1,  1,  2 }	/* (SIZE(1..2)) */,
 	0, 0	/* No PER value map */
@@ -4686,7 +4686,7 @@
 
 /*** <<< CTDEFS [Enum0] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Enum0_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Enum0_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 1,  1,  0,  1 }	/* (0..1) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -4877,7 +4877,7 @@
 
 /*** <<< CTDEFS [Enum1] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Enum1_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Enum1_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 1,  1,  0,  1 }	/* (0..1) */,
 	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
 	0, 0	/* No PER value map */
@@ -5108,7 +5108,7 @@
 
 /*** <<< CTDEFS [Identifier] >>> ***/
 
-static asn_per_constraints_t asn_PER_type_Identifier_constr_1 = {
+static asn_per_constraints_t asn_PER_type_Identifier_constr_1 GCC_NOTUSED = {
 	{ APC_CONSTRAINED,	 6,  6,  36,  122 }	/* (36..122) */,
 	{ APC_CONSTRAINED,	 5,  5,  1,  32 }	/* (SIZE(1..32)) */,
 	asn_PER_MAP_Identifier_1_v2c,	/* Value to PER code map */