Index: tests/enum_tests/planet.cfa
===================================================================
--- tests/enum_tests/planet.cfa	(revision 10b5970650e2ff3d8e757dd5c91889d466e44fe0)
+++ tests/enum_tests/planet.cfa	(revision a12816e7af641f0a6acf1c6966bea34f36cf8f7f)
@@ -36,5 +36,11 @@
 
 //	Planet rp = fromInt( prng( countof( Planet ) ) );	// select random orbiting body
+
+	#pragma GCC diagnostic push
+	// FIX ME: false positive with gcc > 11, so disable.
+	#pragma GCC diagnostic ignored "-Wdangling-pointer"
 	Planet rp = fromInt( countof( Planet ) - 1 );		// non-random for test suite
+	#pragma GCC diagnostic pop
+
 	choose( rp ) {										// implicit breaks
 	  case MERCURY, VENUS, EARTH, MARS:
