diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2006-12-17 22:57:04 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2006-12-17 22:57:04 +0000 |
commit | 757bbef814266897961a364732e8a854b4b61c52 (patch) | |
tree | 123927bfb812fd36f881f54a758390c31565d62c /gcc/cselib.h | |
parent | a7582f7c6dd1b3b7cbc302cff8a9c839859c9567 (diff) | |
download | gcc-757bbef814266897961a364732e8a854b4b61c52.zip gcc-757bbef814266897961a364732e8a854b4b61c52.tar.gz gcc-757bbef814266897961a364732e8a854b4b61c52.tar.bz2 |
cselib.c (struct cselib_val_struct): Make val_rtx its own field, remove the union that contained it.
* cselib.c (struct cselib_val_struct): Make val_rtx its
own field, remove the union that contained it.
* cselib.c: Update accordingly where necessary.
From-SVN: r119994
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index 7209443..47bcb99 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -24,17 +24,14 @@ typedef struct cselib_val_struct GTY(()) { /* The hash value. */ unsigned int value; - union cselib_val_u - { - /* A VALUE rtx that points back to this structure. */ - rtx GTY ((tag ("1"))) val_rtx; - /* Used to keep a list of free cselib_val structures. */ - struct cselib_val_struct * GTY ((skip)) next_free; - } GTY ((desc ("1"))) u; + + /* A VALUE rtx that points back to this structure. */ + rtx val_rtx; /* All rtl expressions that hold this value at the current time during a scan. */ struct elt_loc_list *locs; + /* If this value is used as an address, points to a list of values that use it as an address in a MEM. */ struct elt_list *addr_list; |