This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/68157] [5/6 Regression] internal compiler error: in reassoc_stmt_dominates_stmt_p, at tree-ssa-reassoc.c:1287


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

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(gdb) l
1213
1214          if (gimple_code (s2) == GIMPLE_PHI)
1215            return false;
1216
1217          gcc_assert (gimple_uid (s1) && gimple_uid (s2));
1218
1219          if (gimple_uid (s1) < gimple_uid (s2))
1220            return true;
1221
1222          if (gimple_uid (s1) > gimple_uid (s2))
(gdb) p *s1
$1 = {
  code = GIMPLE_CALL, 
  no_warning = 0, 
  visited = 1, 
  nontemporal_move = 0, 
  plf = 0, 
  modified = 0, 
  has_volatile_ops = 0, 
  pad = 0, 
  subcode = 0, 
  uid = 0, 
  location = 2147483654, 
  num_ops = 5, 
  bb = 0x7ffff70ae2d8, 
  next = 0x7ffff71fb1e0, 
  prev = 0x7ffff71fb0f0
}
(gdb) p *s2
$2 = {
  code = GIMPLE_ASSIGN, 
  no_warning = 0, 
  visited = 0, 
  nontemporal_move = 0, 
  plf = 0, 
  modified = 0, 
  has_volatile_ops = 0, 
  pad = 0, 
  subcode = 35, 
  uid = 5, 
  location = 2147483655, 
  num_ops = 2, 
  bb = 0x7ffff70ae2d8, 
  next = 0x7ffff71fb230, 
  prev = 0x7ffff71f9c60
}
(gdb) p debug_gimple_stmt(s1)                                                   
reassocpow_17 = __builtin_powi (a.2_8, 2);
$3 = void
(gdb) p debug_gimple_stmt(s2)                                                   
# VUSE <.MEM_5>
d.3_12 = d;
$4 = void


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]