From: Oleg Ryjkov Date: Fri, 11 Apr 2008 05:30:33 +0000 (+0000) Subject: tree.h (struct tree_base): Added a new flag default_def_flag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0598f31b0278920dbcdbe85f9ce5a765cae997f3;p=gcc.git tree.h (struct tree_base): Added a new flag default_def_flag. 2008-04-10 Oleg Ryjkov * tree.h (struct tree_base): Added a new flag default_def_flag. (SSA_NAME_IS_DEFAULT_DEF): Changed to use the new flag. From-SVN: r134192 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7384328f811..52f8d10c40c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-04-10 Oleg Ryjkov + + * tree.h (struct tree_base): Added a new flag default_def_flag. + (SSA_NAME_IS_DEFAULT_DEF): Changed to use the new flag. + 2008-04-11 Kaz Kojima * config.gcc (need_64bit_hwint): Need 64bit hwint for sh-*-*. diff --git a/gcc/tree.h b/gcc/tree.h index 6ad3d4d58de..bdaf8d0f53d 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -389,6 +389,7 @@ struct tree_base GTY(()) unsigned deprecated_flag : 1; unsigned invariant_flag : 1; unsigned saturating_flag : 1; + unsigned default_def_flag : 1; unsigned lang_flag_0 : 1; unsigned lang_flag_1 : 1; @@ -399,7 +400,7 @@ struct tree_base GTY(()) unsigned lang_flag_6 : 1; unsigned visited : 1; - unsigned spare : 23; + unsigned spare : 22; /* FIXME tuples: Eventually, we need to move this somewhere external to the trees. */ @@ -1881,7 +1882,7 @@ struct tree_exp GTY(()) Default definitions are always created by an empty statement and belong to no basic block. */ #define SSA_NAME_IS_DEFAULT_DEF(NODE) \ - SSA_NAME_CHECK (NODE)->base.volatile_flag + SSA_NAME_CHECK (NODE)->base.default_def_flag /* Attributes for SSA_NAMEs for pointer-type variables. */ #define SSA_NAME_PTR_INFO(N) \