This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PR java/17689 [4.0 Regression] New testsuite failures indicatesignal unwinding is broken
On Mon, 2004-09-27 at 12:21, Andrew Haley wrote:
> *** tree-ssa-alias.c 23 Sep 2004 14:34:19 -0000 2.43
> --- tree-ssa-alias.c 27 Sep 2004 16:20:48 -0000
> *************** create_memory_tag (tree type, bool is_ty
> *** 2029,2032 ****
> --- 2029,2035 ----
> DECL_CONTEXT (tag) = current_function_decl;
>
> + /* If the pointed-to type is volatile, so is the tag. */
> + TREE_THIS_VOLATILE (tag) |= TREE_THIS_VOLATILE (type);
> +
> /* Memory tags are by definition addressable. This also prevents
> is_gimple_ref frome confusing memory tags with optimizable
> *************** get_tmt_for (tree ptr, struct alias_info
> *** 2128,2132 ****
>
> /* If the pointed-to type is volatile, so is the tag. */
> ! TREE_THIS_VOLATILE (tag) = TREE_THIS_VOLATILE (tag_type);
>
> /* Make sure that the type tag has the same alias set as the
> --- 2131,2136 ----
>
> /* If the pointed-to type is volatile, so is the tag. */
> ! if (TREE_THIS_VOLATILE (tag_type))
> ! TREE_THIS_VOLATILE (tag) = 1;
>
> /* Make sure that the type tag has the same alias set as the
>
> ???
>
That is really strange. The two parts of your patch are functionally
identical. I'll have to take a closer look.
Diego.