[Bug target/69833] Warning during bootstrap of --with-build-config=bootstrap-asan

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 16 16:40:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69833

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> Can you delta reduce or creduce tree-vect-patterns.ii with a test that it
> emits
> this warning with -fsanitize=address and does not without it?

I've just done, but unfortunately it reduces to a test-case that's not useful:

typedef struct tree_node *tree;
struct A {
  tree type;
};
struct tree_node {
  A typed;
};
bool vect_recog_mask_conversion_pattern_load;
void fn1(tree);
void fn2() {
  tree __trans_tmp_3, lhs;
  if (vect_recog_mask_conversion_pattern_load) {
    __trans_tmp_3 = lhs;
    fn1((__trans_tmp_3->typed.type));
  }
}

Any idea how to write reduce script properly to isolate that?

Thanks,
Martin


More information about the Gcc-bugs mailing list