aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2006-12-17 22:57:04 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2006-12-17 22:57:04 +0000
commit757bbef814266897961a364732e8a854b4b61c52 (patch)
tree123927bfb812fd36f881f54a758390c31565d62c /gcc/cselib.h
parenta7582f7c6dd1b3b7cbc302cff8a9c839859c9567 (diff)
downloadgcc-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.h11
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;