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

            Bug ID: 89711
           Summary: ICE in insert_vi_for_tree, at
                    tree-ssa-structalias.c:2832
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

gcc-9.0.0-alpha20190310 snapshot (r269561) ICEs when compiling the following
testcase at any optimization level and w/ -fipa-pta -flto (note: w/o -c):

__attribute__ ((target_clones ("avx", "default"))) void
xd (void)
{
}

__attribute__ ((target_clones ("avx", "default"))) void
tx (void)
{
}

int
main (void)
{
  return 0;
}

% x86_64-pc-linux-gnu-gcc-9.0.0-alpha20190310 -O1 -fipa-pta -flto jrbgpkcn.c
during IPA pass: pta
lto1: internal compiler error: in insert_vi_for_tree, at
tree-ssa-structalias.c:2832
0xe371aa insert_vi_for_tree
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190310/work/gcc-9-20190310/gcc/tree-ssa-structalias.c:2832
0xe4456d create_function_info_for
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190310/work/gcc-9-20190310/gcc/tree-ssa-structalias.c:5817
0xe4456d ipa_pta_execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190310/work/gcc-9-20190310/gcc/tree-ssa-structalias.c:7970
0xe4456d execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20190310/work/gcc-9-20190310/gcc/tree-ssa-structalias.c:8311

Reply via email to