------- Comment #3 from jakub at gcc dot gnu dot org  2008-04-25 10:06 -------
      if (u && TREE_CODE (u) == VAR_DECL && DECL_BASED_ON_RESTRICT_P (u))
        u = DECL_GET_RESTRICT_BASE (u);
in internal_get_tmp_var looks wrong to me.  That together with
find_single_pointer_decl not respecting indirection/array_ref barriers means
that
any depth of dereferences as long as they are gimplified one level at a time
are all marked DECL_BASED_ON_RESTRICT_P.

CCing Ian as he introduced that in 2005.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at gcc dot gnu dot org


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

Reply via email to