Index: libcfa/src/collections/vector.hfa
===================================================================
--- libcfa/src/collections/vector.hfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ libcfa/src/collections/vector.hfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -97,5 +97,5 @@
 static inline void reserve(vector(T, allocator_t)* this, size_t size)
 {
-	realloc_storage(&this->storage, this->size+1);
+	realloc_storage(&this->storage, size);
 }
 
Index: tests/.expect/attributes.x86.txt
===================================================================
--- tests/.expect/attributes.x86.txt	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/.expect/attributes.x86.txt	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -1177,5 +1177,5 @@
     __attribute__ ((unused)) signed int **const _X10_retval_f2KPPi_1;
     {
-        ((void)((*((signed int ***)(&_X10_retval_f2KPPi_1)))=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)((*((signed int ***)(&_X10_retval_f2KPPi_1)))=((void*)((unsigned int )0))) /* ?{} */);
     }
 
@@ -1191,5 +1191,5 @@
 
     {
-        ((void)(_X10_retval_f5PA0i_1=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)(_X10_retval_f5PA0i_1=((void*)((unsigned int )0))) /* ?{} */);
     }
 
@@ -1203,5 +1203,5 @@
 
     {
-        ((void)(_X10_retval_f6PA0i_1=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)(_X10_retval_f6PA0i_1=((void*)((unsigned int )0))) /* ?{} */);
     }
 
@@ -1212,5 +1212,5 @@
     __attribute__ ((unused)) signed int (*_X10_retval_f8Fi_i__1)(signed int __param_0);
     {
-        ((void)(_X10_retval_f8Fi_i__1=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)(_X10_retval_f8Fi_i__1=((void*)((unsigned int )0))) /* ?{} */);
     }
 
@@ -1220,5 +1220,5 @@
     __attribute__ ((unused)) signed int (*_X10_retval_f9Fi_i__1)(signed int __param_0);
     {
-        ((void)(_X10_retval_f9Fi_i__1=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)(_X10_retval_f9Fi_i__1=((void*)((unsigned int )0))) /* ?{} */);
     }
 
@@ -1228,5 +1228,5 @@
     __attribute__ ((unused)) signed int (*_X11_retval_f10Fi_i__1)(signed int __param_0);
     {
-        ((void)(_X11_retval_f10Fi_i__1=((void*)((unsigned long int )0))) /* ?{} */);
+        ((void)(_X11_retval_f10Fi_i__1=((void*)((unsigned int )0))) /* ?{} */);
     }
 
Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/Makefile.am	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -109,20 +109,10 @@
 	io/manipulatorsInput-uchunk \
 	io/many_read \
-	math \
-	minmax \
-	operators \
-	poly-many-arsz \
-	polymorphism \
 	raii/ctor-autogen \
 	raii/dtor-early-exit \
 	raii/init_once \
 	references \
-	shortCircuit \
-	sum \
-	switch \
 	tuple/tupleCast \
-	tuple/tupleMember \
-	userLiterals \
-	vector
+	tuple/tupleMember
 
 WFLAGS=${if ${filter ${WFLGAS_OPT_LAX},${@}},${WFLAGS_LAX},${WFLAGS_STRICT}}
Index: tests/math.cfa
===================================================================
--- tests/math.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/math.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -55,6 +55,4 @@
 
 	struct S { int i; };
-	double ?*?( double d, S s ) { return d * s.i; }
-	double ?/?( double d, S s ) { return d / s.i; }
 	S ?\?( S s, unsigned long y ) { return (S){ s.i \ y }; }
 	ofstream & ?|?( ofstream & os, S s ) { return os | s.i; }
Index: tests/minmax.cfa
===================================================================
--- tests/minmax.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/minmax.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -18,8 +18,4 @@
 
 int main( void ) {
-	// char does not have less or greater than.
-	int ?<?( char op1, char op2 ) { return (int)op1 < (int)op2; }
-	int ?>?( char op1, char op2 ) { return (int)op1 > (int)op2; }
-
 	sout | "char\t\t\t"					| 'z' | ' ' | 'a' | "\tmin " | min( 'z', 'a' );
 	sout | "signed int\t\t"				| 4 | -3 | "\tmin" | min( 4, -3 );
Index: tests/operators.cfa
===================================================================
--- tests/operators.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/operators.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -1,3 +1,3 @@
-int ?*?( int a, int b ) {
+int ?*?( int, int ) {
 	return 0;
 }
@@ -7,9 +7,9 @@
 }
 
-int ?+?( int a, int b ) {
+int ?+?( int, int ) {
 	return 0;
 }
 
-int ?=?( int &a, int b ) {
+int ?=?( int &, int ) {
 	return 0;
 }
@@ -18,10 +18,10 @@
 };
 
-char ?()( struct accumulator a, char number1, char number2 ) {
+char ?()( struct accumulator, char, char ) {
 	return 'a';
 }
 
 void f( void ) {
-	char a, b;
+	char a = 0, b = 0;
 	?()( a, b );
 	a(b);
@@ -29,5 +29,5 @@
 }
 
-int main(int argc, char const *argv[]) {
+int main() {
 	/* code */
 	printf( "done\n" );				// non-empty .expect file
Index: tests/poly-many-arsz.cfa
===================================================================
--- tests/poly-many-arsz.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/poly-many-arsz.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -29,5 +29,5 @@
 
     mypair(char[2], char) y @= {};
-    printf("|y| = %ld\n", sizeof(y));    // 3
+    printf("|y| = %zd\n", sizeof(y));    // 3
 
     y.second = 0;
@@ -43,10 +43,13 @@
     // adding this declaration of x ...
     mypair(char[1], char) x @= {};
-    printf("|x| = %ld\n", sizeof(x));    // 2
+    printf("|x| = %zd\n", sizeof(x));    // 2
+
+    // ... even if it isn't really used ...
+    (void)x;
 
     // ... must not affect the observed facts of y:
 
     mypair(char[2], char) y @= {};
-    printf("|y| = %ld\n", sizeof(y));    // 3
+    printf("|y| = %zd\n", sizeof(y));    // 3
 
     y.second = 0;
Index: tests/polymorphism.cfa
===================================================================
--- tests/polymorphism.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/polymorphism.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -29,5 +29,5 @@
 
 forall( T, U )
-size_t struct_size( T i, U j ) {
+size_t struct_size( T, U ) {
 	struct S { T i; U j; };
 	return sizeof(S);
@@ -35,5 +35,5 @@
 
 forall( T, U )
-size_t union_size( T i, U j ) {
+size_t union_size( T, U ) {
 	union B { T i; U j; };
 	return sizeof(B);
@@ -42,5 +42,5 @@
 // perform some simple operations on aggregates of T and U
 forall( T | { void print(T); int ?==?(T, T); }, U | { void print(U); U ?=?(U&, zero_t); } )
-U foo(T i, U j) {
+U foo(T i, U) {
 	struct S { T i; U j; };
 	union B { T i; U j; };
@@ -68,6 +68,6 @@
 		double & x_inner_double = x; \
 		float  & x_inner_float  = x; \
-		printf("  offset of inner double: %ld\n", ((char *) & x_inner_double) - ((char *) & x) ); \
-		printf("  offset of inner float:  %ld\n", ((char *) & x_inner_float ) - ((char *) & x) );
+		printf("  offset of inner double: %zd\n", ((char *) & x_inner_double) - ((char *) & x) ); \
+		printf("  offset of inner float:  %zd\n", ((char *) & x_inner_float ) - ((char *) & x) );
 
 	void showStatic( thing(long long int) & x ) {
Index: tests/shortCircuit.cfa
===================================================================
--- tests/shortCircuit.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/shortCircuit.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -1,10 +1,10 @@
 //
 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
-// 
+//
 // The contents of this file are covered under the licence agreement in the
 // file "LICENCE" distributed with Cforall.
-// 
-// shortCircuit.cfa -- 
-// 
+//
+// shortCircuit.cfa --
+//
 // Author           : Peter A. Buhr
 // Created On       : Thu Jan 28 18:26:16 2016
@@ -12,12 +12,12 @@
 // Last Modified On : Tue Dec  4 18:26:05 2018
 // Update Count     : 4
-// 
+//
 
-void g( float f ) {}
-void g( int i ) {}
+void g( float ) {}
+void g( int ) {}
 
 void f( int a ) {
-	int b;
-	float c;
+	int b = 0;
+	float c = 0;
 	g( a ? b : c );
 	g( a && c );
@@ -26,6 +26,6 @@
 
 void g() {
-	int a;
-	struct { int b; } a;
+	int a = 1;
+	struct Int { int b; } a = { 0 };
 	if ( a ) {
 		while ( a ) {
@@ -35,4 +35,6 @@
 		}
 	}
+	// This should never be resolved to.
+	(void)(Int)a;
 }
 
@@ -43,10 +45,10 @@
 };
 
-int ?!=?( test_t lhs, int rhs ) {
+int ?!=?( test_t lhs, zero_t ) {
 	sout | lhs.x | " ";
 	return lhs.x != 0;
 }
 
-int main( int argc, char const *argv[] ) {
+int main() {
 	sout | nlOff;
 	test_t true_val, false_val;
Index: tests/sum.cfa
===================================================================
--- tests/sum.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/sum.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -87,5 +87,4 @@
 	struct S { int i, j; };
 	void ?{}( S & s ) { s.[i, j] = 0; }
-	void ?{}( S & s, int i ) { s.[i, j] = [i, 0]; }
 	void ?{}( S & s, int i, int j ) { s.[i, j] = [i, j]; }
 	void ?{}( S & s, zero_t ) { s.[i, j] = 0; }
Index: tests/switch.cfa
===================================================================
--- tests/switch.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/switch.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -5,5 +5,5 @@
 // file "LICENCE" distributed with Cforall.
 //
-// switch.cfa -- 
+// switch.cfa --
 //
 // Author           : Peter A. Buhr
@@ -12,5 +12,5 @@
 // Last Modified On : Fri Jan 17 14:10:12 2025
 // Update Count     : 45
-// 
+//
 
 int f( int i ) { return i; }
@@ -57,4 +57,6 @@
 	  default:
 		i = 3;
+		s = (S){ -7 };
+		fallthrough;
 	  case 19:
 	  case 'A' ... 'Z':
@@ -63,4 +65,5 @@
 		j = 3;
 		f( 3 );
+		k = 5;
 		break;
 	} // switch
@@ -92,4 +95,5 @@
 		i = 3;
 		f( 3 );
+		s = (S){ -7 };
 	  default:
 		j = 3;
@@ -98,5 +102,5 @@
 		fallthrough;
 	  case 'd':
-		j = 5;
+		k = 5;
 	} // choose
 
Index: tests/userLiterals.cfa
===================================================================
--- tests/userLiterals.cfa	(revision 372d33c9ab2b3d7bb943b4093d09a48a99b9032a)
+++ tests/userLiterals.cfa	(revision 641707dcb4cb8e2cd6cf3d4ac4261fc2b8e5ee4c)
@@ -15,6 +15,11 @@
 
 #include <fstream.hfa>
+#include <uchar.h>
+
+// Warning triggered by the standard header, we can't fix that.
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wtype-limits"
 #include <wchar.h>
-#include <uchar.h>
+#pragma GCC diagnostic pop
 
 int ?`s( int s ) { sout | "secs" | s; return s; }
