summaryrefslogtreecommitdiff
path: root/gcc/ipa-str-reorg-dead-field-eliminate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-str-reorg-dead-field-eliminate.c')
-rw-r--r--gcc/ipa-str-reorg-dead-field-eliminate.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ipa-str-reorg-dead-field-eliminate.c b/gcc/ipa-str-reorg-dead-field-eliminate.c
index 77f9d3141b2..2e192328ad8 100644
--- a/gcc/ipa-str-reorg-dead-field-eliminate.c
+++ b/gcc/ipa-str-reorg-dead-field-eliminate.c
@@ -52,6 +52,8 @@ along with GCC; see the file COPYING3. If not see
#include "ipa-str-reorg-utils.h"
#include "ipa-hello-world.h"
+#include "gimple-caster.hpp"
+
#define test_write(M, ...) \
if (dump_file) \
{ \
@@ -2765,6 +2767,13 @@ str_reorg_dead_field_eliminate (__attribute__((unused)) Info *info)
int
str_reorg_dead_field_eliminate_qual (Info *info)
{
+ GimpleCaster caster(info->sets);
+ caster.walk();
+ // sets here now holds the types that
+ // are casted...
+ // So, maybe we want to print them?
+ caster.print_reasons();
+ ptrset_t sets = caster.get_sets();
return 0;
}
int