This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]