summaryrefslogtreecommitdiff
path: root/gcc/df.h
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2010-06-23 14:25:33 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-06-23 15:25:33 +0100
commitf12c802afd17c763ca914cd142504fbf7607dc76 (patch)
tree8e18fe7df0caef744f6094a5dee3becf74542b30 /gcc/df.h
parent9b2133cd43147d8172168d193015f222d8f2fe61 (diff)
downloadgcc-f12c802afd17c763ca914cd142504fbf7607dc76.tar.gz
re PR other/44644 (type/data name clash makes --enable-build-with-cxx cc1 hard to debug)
PR other/44644 * df-core.c (struct df): Rename to df_d. * df.h (struct df): Likewise. * dse.h (struct df): Remove forward declaration. * recog.h (struct insn_data): Rename to: (struct_insn_data_d). Adjusted all users. From-SVN: r161281
Diffstat (limited to 'gcc/df.h')
-rw-r--r--gcc/df.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/df.h b/gcc/df.h
index fc3bb088ee5..01a4d1046e9 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
#include "timevar.h"
struct dataflow;
-struct df;
+struct df_d;
struct df_problem;
struct df_link;
struct df_insn_info;
@@ -527,7 +527,7 @@ struct df_reg_info
used by owners of the problem.
----------------------------------------------------------------------------*/
-struct df
+struct df_d
{
/* The set of problems to be solved is stored in two arrays. In
@@ -877,7 +877,7 @@ struct df_byte_lr_bb_info
/* This is used for debugging and for the dumpers to find the latest
instance so that the df info can be added to the dumps. This
should not be used by regular code. */
-extern struct df *df;
+extern struct df_d *df;
#define df_scan (df->problems_by_index[DF_SCAN])
#define df_rd (df->problems_by_index[DF_RD])
#define df_lr (df->problems_by_index[DF_LR])