From: Diego Novillo Date: Fri, 13 Jan 2006 20:13:06 +0000 (+0000) Subject: tree-ssa-alias.c (add_type_alias): Fix typo. X-Git-Tag: releases/gcc-4.2.0~4886 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47adc0164ed1ef318809797c43ff179cc756c90c;p=thirdparty%2Fgcc.git tree-ssa-alias.c (add_type_alias): Fix typo. * tree-ssa-alias.c (add_type_alias): Fix typo. Test whether VAR is a tag, not its type tag. From-SVN: r109673 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c39dba516438..4211f8c4e311 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-13 Diego Novillo + + * tree-ssa-alias.c (add_type_alias): Fix typo. Test whether + VAR is a tag, not its type tag. + 2006-01-13 Alexandre Oliva * config/i386/sse.md (*vec_extractv2di_1_sse2): Reorder diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 212f58733bb1..667630343d2b 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -2307,7 +2307,7 @@ add_type_alias (tree ptr, tree var) found_tag: /* If VAR is not already PTR's type tag, add it to the may-alias set for PTR's type tag. */ - gcc_assert (!MTAG_P (var_ann (var)->type_mem_tag)); + gcc_assert (!MTAG_P (var)); tag = ann->type_mem_tag; /* If VAR has subvars, add the subvars to the tag instead of the