]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gimple-ssa-sprintf.c
PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs
[thirdparty/gcc.git] / gcc / gimple-ssa-sprintf.c
index a0934bcaf87c05f6c52cd50139e3b5200b3e8d53..6ba3d86f211ec4000be769b8d52031bca564f21c 100644 (file)
@@ -520,8 +520,9 @@ enum format_lengths
 /* Description of the result of conversion either of a single directive
    or the whole format string.  */
 
-struct fmtresult
+class fmtresult
 {
+public:
   /* Construct a FMTRESULT object with all counters initialized
      to MIN.  KNOWNRANGE is set when MIN is valid.  */
   fmtresult (unsigned HOST_WIDE_INT min = HOST_WIDE_INT_MAX)