OSDN Git Service

2010-04-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Apr 2010 13:33:31 +0000 (13:33 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:33:10 +0000 (14:33 +0900)
* tree.h (struct tree_decl_minimal): Move pt_uid ...
(struct tree_decl_common): ... here.
(DECL_PT_UID): Adjust.
(SET_DECL_PT_UID): Likewise.
(DECL_PT_UID_SET_P): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158421 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.h

index 68242ae..06c60d4 100644 (file)
@@ -1,5 +1,13 @@
 2010-04-16  Richard Guenther  <rguenther@suse.de>
 
 2010-04-16  Richard Guenther  <rguenther@suse.de>
 
+       * tree.h (struct tree_decl_minimal): Move pt_uid ...
+       (struct tree_decl_common): ... here.
+       (DECL_PT_UID): Adjust.
+       (SET_DECL_PT_UID): Likewise.
+       (DECL_PT_UID_SET_P): Likewise.
+
+2010-04-16  Richard Guenther  <rguenther@suse.de>
+
        PR tree-optimization/43572
        * tree-ssa-alias.h (call_may_clobber_ref_p): Declare.
        * tree-ssa-alias.c (call_may_clobber_ref_p): Export.
        PR tree-optimization/43572
        * tree-ssa-alias.h (call_may_clobber_ref_p): Declare.
        * tree-ssa-alias.c (call_may_clobber_ref_p): Export.
index ace4ae6..d6df5f6 100644 (file)
@@ -2501,12 +2501,12 @@ struct function;
 
 /* Every ..._DECL node gets a unique number that stays the same even
    when the decl is copied by the inliner once it is set.  */
 
 /* Every ..._DECL node gets a unique number that stays the same even
    when the decl is copied by the inliner once it is set.  */
-#define DECL_PT_UID(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.pt_uid == -1u ? (NODE)->decl_minimal.uid : (NODE)->decl_minimal.pt_uid)
+#define DECL_PT_UID(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid == -1u ? (NODE)->decl_minimal.uid : (NODE)->decl_common.pt_uid)
 /* Initialize the ..._DECL node pt-uid to the decls uid.  */
 /* Initialize the ..._DECL node pt-uid to the decls uid.  */
-#define SET_DECL_PT_UID(NODE, UID) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.pt_uid = (UID))
+#define SET_DECL_PT_UID(NODE, UID) (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid = (UID))
 /* Whether the ..._DECL node pt-uid has been initialized and thus needs to
    be preserved when copyin the decl.  */
 /* Whether the ..._DECL node pt-uid has been initialized and thus needs to
    be preserved when copyin the decl.  */
-#define DECL_PT_UID_SET_P(NODE) (DECL_MINIMAL_CHECK (NODE)->decl_minimal.pt_uid != -1u)
+#define DECL_PT_UID_SET_P(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.pt_uid != -1u)
 
 /* These two fields describe where in the source code the declaration
    was.  If the declaration appears in several places (as for a C
 
 /* These two fields describe where in the source code the declaration
    was.  If the declaration appears in several places (as for a C
@@ -2533,7 +2533,6 @@ struct GTY(()) tree_decl_minimal {
   struct tree_common common;
   location_t locus;
   unsigned int uid;
   struct tree_common common;
   location_t locus;
   unsigned int uid;
-  unsigned int pt_uid;
   tree name;
   tree context;
 };
   tree name;
   tree context;
 };