This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Fix alias grouping of name tags.


During alias grouping, we will end up replacing each alias in an NMT
with an SMT if the SMT has been grouped.  However, this causes us to
replace symbols such that

NMT.67 aliases { a b c }

is now (assuming SMT.567, aliasing a b and c, gets grouped).

NMT.67 aliases { SMT.567 SMT.567 SMT.567 }

Whoops.

The attached fixes this.

Bootstrapped and regtested on i686-pc-darwin

Committed to mainline

2006-11-23 Daniel Berlin <dberlin@dberlin.org>

	* tree-ssa-alias.c (tree_pointer_compare): New function.
	(compact_name_tags): New function.
	(group_aliases): Call compact_name_tags.

Attachment: compactnametags.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]