Committed: rename struct reg_equivs

Message ID
State New
Headers show

Commit Message

Joern Rennecke Aug. 21, 2013, 2:43 p.m.
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  <>

	* 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 \
 /* 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.