This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: rename struct reg_equivs
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Aug 2013 10:43:32 -0400
- Subject: Committed: rename struct reg_equivs
Having a C++ type with the same name as the variable reg_equivs causes
trouble with gdb, so I renamed the struct.
Bootstrapped on i686-pc-linux-gnu.
Committed as obvious.
2013-08-21 Joern Rennecke <joern.rennecke@embecosm.com>
* reload.h (struct reg_equivs): Rename to ..
(struct reg_equivs_s): .. this.
Index: reload.h
===================================================================
--- reload.h (revision 201898)
+++ reload.h (working copy)
@@ -203,7 +203,7 @@ #define caller_save_initialized_p \
(this_target_reload->x_caller_save_initialized_p)
/* Register equivalences. Indexed by register number. */
-typedef struct reg_equivs
+typedef struct reg_equivs_s
{
/* The constant value to which pseudo reg N is equivalent,
or zero if pseudo reg N is not equivalent to a constant.