]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/reload.h
PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs
[thirdparty/gcc.git] / gcc / reload.h
index 813075b6f00d1b02956aba22d9ed2fd71cbe528a..edfeebfff0e0bae8abed70687e0e6855c02ef651 100644 (file)
@@ -278,8 +278,9 @@ extern int num_not_at_initial_offset;
 /* This structure describes instructions which are relevant for reload.
    Apart from all regular insns, this also includes CODE_LABELs, since they
    must be examined for register elimination.  */
-struct insn_chain
+class insn_chain
 {
+public:
   /* Links to the neighbor instructions.  */
   struct insn_chain *next, *prev;