diff options
author | Richard Guenther <rguenther@suse.de> | 2008-03-06 09:16:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-03-06 09:16:16 +0000 |
commit | 4c067742bdf8ee3976f05d7b85dc152ebf629ae3 (patch) | |
tree | d7c369311e71cb1a15fa1500a7b19bfbb2a9d6a5 /gcc | |
parent | 23880b9795c03d142be4fa17146c072fdfa7a765 (diff) | |
download | gcc-4c067742bdf8ee3976f05d7b85dc152ebf629ae3.zip gcc-4c067742bdf8ee3976f05d7b85dc152ebf629ae3.tar.gz gcc-4c067742bdf8ee3976f05d7b85dc152ebf629ae3.tar.bz2 |
alias.c (struct alias_set_entry): Move has_zero_child field to pack with alias_set.
2008-03-06 Richard Guenther <rguenther@suse.de>
* alias.c (struct alias_set_entry): Move has_zero_child field
to pack with alias_set.
From-SVN: r132967
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/alias.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 110a6dc..6b97447 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-03-06 Richard Guenther <rguenther@suse.de> + + * alias.c (struct alias_set_entry): Move has_zero_child field + to pack with alias_set. + 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386-modes.def: Use 4 byte alignment on DI for diff --git a/gcc/alias.c b/gcc/alias.c index 56afa86..2e4f5ae 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -133,6 +133,10 @@ struct alias_set_entry GTY(()) /* The alias set number, as stored in MEM_ALIAS_SET. */ alias_set_type alias_set; + /* Nonzero if would have a child of zero: this effectively makes this + alias set the same as alias set zero. */ + int has_zero_child; + /* The children of the alias set. These are not just the immediate children, but, in fact, all descendants. So, if we have: @@ -141,10 +145,6 @@ struct alias_set_entry GTY(()) continuing our example above, the children here will be all of `int', `double', `float', and `struct S'. */ splay_tree GTY((param1_is (int), param2_is (int))) children; - - /* Nonzero if would have a child of zero: this effectively makes this - alias set the same as alias set zero. */ - int has_zero_child; }; typedef struct alias_set_entry *alias_set_entry; |