summaryrefslogtreecommitdiff
path: root/gcc/type-reconstructor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/type-reconstructor.c')
-rw-r--r--gcc/type-reconstructor.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/type-reconstructor.c b/gcc/type-reconstructor.c
index f39dec94484..34f793f36b5 100644
--- a/gcc/type-reconstructor.c
+++ b/gcc/type-reconstructor.c
@@ -34,6 +34,20 @@
#include "type-stringifier.hpp"
#include "stor-layout.h"
+
+// TODO:
+// I think it might be possible that we need to create
+// new nodes as opposed to copying the nodes.
+// I say this because I think the copy is a shallow copy
+// and it might be making things difficult if we don't
+// know everything that is happening...
+// so we might want to rewrite this class...
+//
+//
+// TODO:
+// Also, there's a bug in which the TYPE_MAIN_VARIANT is an old type...
+// which is not a good thing.
+
void
TypeReconstructor::set_is_not_modified_yet(const_tree t)
{