diff mbox

Committed: rename struct reg_equivs

Message ID 20130821104332.wgz8zqlgl8gs04gk-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

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

Patch

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.