Description: GCC12/13, again
 Merge.
 .
 cbmc (5.84.0-5) unstable; urgency=low
 .
   * Fix further portability problems
Author: Michael Tautschnig <mt@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2023-06-16

Index: cbmc-5.84.0/src/util/simplify_expr_int.cpp
===================================================================
--- cbmc-5.84.0.orig/src/util/simplify_expr_int.cpp
+++ cbmc-5.84.0/src/util/simplify_expr_int.cpp
@@ -159,6 +159,12 @@ static bool mul_expr(
   return true;
 }
 
+// Work around spurious GCC 12 warning about c_sizeof_type being
+// uninitialised in its destructor (!).
+#pragma GCC diagnostic push
+#ifndef __clang__
+#  pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+#endif
 simplify_exprt::resultt<> simplify_exprt::simplify_mult(const mult_exprt &expr)
 {
   // check to see if it is a number type
@@ -270,6 +276,7 @@ simplify_exprt::resultt<> simplify_exprt
     return std::move(tmp);
   }
 }
+#pragma GCC diagnostic pop
 
 simplify_exprt::resultt<> simplify_exprt::simplify_div(const div_exprt &expr)
 {
