[Bug rtl-optimization/87895] [7/8/9 Regression] ICE in purge_dead_edges, at cfgrtl.c:3246

2018-11-06 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87895

--- Comment #2 from Arseny Solokha  ---
And another one, apparently:

#pragma omp declare simd
int
vm (int *ty, int oh)
{
  if ((oh == 0) ? (*ty = 0) : *ty)
return 0;
}

% x86_64-pc-linux-gnu-gcc-9.0.0-alpha20181104 -O1 -fopenmp -c logpnyyb.c
logpnyyb.c: In function 'vm.simdclone.0':
logpnyyb.c:3:1: error: fallthru to exit from bb 10
3 | vm (int *ty, int oh)
  | ^~
during GIMPLE pass: dom
logpnyyb.c:3:1: internal compiler error: verify_flow_info failed
0x8a889a verify_flow_info()
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/cfghooks.c:265
0xd1d674 checking_verify_flow_info
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/cfghooks.h:198
0xd1d674 cleanup_tree_cfg_noloop
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/tree-cfgcleanup.c:938
0xd1d674 cleanup_tree_cfg()
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/tree-cfgcleanup.c:989
0xbec05c execute_function_todo
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/passes.c:1878
0xbecece execute_todo
   
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181104/work/gcc-9-20181104/gcc/passes.c:1979

[Bug rtl-optimization/87895] [7/8/9 Regression] ICE in purge_dead_edges, at cfgrtl.c:3246

2018-11-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87895

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |7.4
Summary|ICE in purge_dead_edges, at |[7/8/9 Regression] ICE in
   |cfgrtl.c:3246   |purge_dead_edges, at
   ||cfgrtl.c:3246