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

            Bug ID: 64764
           Summary: internal compiler error: in is_value_included_in, at
                    tree-ssa-uninit.c:942
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org

./cc1 -quiet q.c -Wuninitialized -O
q.c: In function ‘fn2’:
q.c:14:1: internal compiler error: in is_value_included_in, at
tree-ssa-uninit.c:942
 fn2 ()
 ^
0xef6507 is_value_included_in
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:942
0xefcc71 is_pred_expr_subset_of
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:1387
0xefcc71 is_pred_chain_subset_of
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:1412
0xefcc71 is_included_in
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:1441
0xefcc71 is_superset_of
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:1472
0xefcc71 is_use_properly_guarded
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:2242
0xefd95f find_uninit_use
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:2285
0xefd95f warn_uninitialized_phi
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:2351
0xefd95f execute
    /home/marek/src/gcc/gcc/tree-ssa-uninit.c:2461
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


int a, l, m;
float *b;
float c, d, e, g, h;
unsigned char i, k;
void
fn1 (int p1, float *f1, float *f2, float *f3, unsigned char *c1, float *f4,
     unsigned char *c2, float *p10)
{
  if (p1 & 8)
    b[3] = p10[a];
}

void
fn2 ()
{
  float *n;
  if (l & 6)
    n = &c + m;
  fn1 (l, &d, &e, &g, &i, &h, &k, n);
}

Reply via email to