Patchwork Committed: rename struct reg_equivs

login
register
mail settings
Submitter Joern Rennecke
Date Aug. 21, 2013, 2:43 p.m.
Message ID <20130821104332.wgz8zqlgl8gs04gk-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/268820/
State New
Headers show

Comments

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  <joern.rennecke@embecosm.com>

	* reload.h (struct reg_equivs): Rename to ..
	(struct reg_equivs_s): .. this.

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.