------- Comment #5 from rguenth at gcc dot gnu dot org  2006-04-17 11:18 -------
Now, the comment before get_val_for is confusing, as it says

   * if BASE is NULL_TREE, X must be a constant and we return X.

but we do

  if (!x)
    return base;

now, I believe a

  gcc_assert (is_gimple_min_invariant (base));

before this statement is what needs to hold.  So the caller needs to be fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27136

Reply via email to