[Bug ipa/96734] gcc 10.2.0 fails to compile on mips64 due to crash in IPA SRA pass

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 23 12:42:24 GMT 2020


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

--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> ---
All right, I have a reduced test-case (with the failing stage1 compiler):

$ cat method.ii

typedef union tree_node *tree;
struct tree_typed {
  tree type;
};
struct tree_type_non_common {
  tree lang_1;
};
union tree_node {
  tree_typed typed;
  tree_type_non_common type_non_common;
};
;
struct comp_info {
  bool noex;
  comp_info(tree fndecl, int ) {
    if (noex) {
      if ((((((fndecl)->typed.type)))->type_non_common.lang_1) )
        noex = false;
    }
  }
};
tree build_comparison_op_fndecl;
int build_comparison_op_complain;
void synthesize_method() {
  {
    {
      comp_info (build_comparison_op_fndecl, build_comparison_op_complain);
    }
  }
}


More information about the Gcc-bugs mailing list