diff options
author | Chris Lattner <sabre@gnu.org> | 2006-01-04 19:59:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@gcc.gnu.org> | 2006-01-04 19:59:44 +0000 |
commit | b7af94d8b2803902e42bd2f86e590e209327ed48 (patch) | |
tree | f78b4402579eecd9a76ee1e2ca011e29554e808b | |
parent | a9210574e2fba21203603ef238421c4e148d08f4 (diff) | |
download | gcc-b7af94d8b2803902e42bd2f86e590e209327ed48.zip gcc-b7af94d8b2803902e42bd2f86e590e209327ed48.tar.gz gcc-b7af94d8b2803902e42bd2f86e590e209327ed48.tar.bz2 |
typeck2.c: update copyright to 2006
2006-01-04 Chris Lattner <sabre@gnu.org>
* typeck2.c: update copyright to 2006
(split_nonconstant_init_1): Set TREE_CONSTANT to true.
From-SVN: r109348
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/typeck2.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4487eba..b2967c1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-01-04 Chris Lattner <sabre@gnu.org> + + * typeck2.c: update copyright to 2006 + (split_nonconstant_init_1): Set TREE_CONSTANT to true. + 2006-01-04 Mark Mitchell <mark@codesourcery.com> PR c++/24782 diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c index 9f2d5a4..755535f 100644 --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -1,7 +1,7 @@ /* Report error messages, build initializers, and perform some front-end optimizations for C++ compiler. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2004, 2005 + 1999, 2000, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. Hacked by Michael Tiemann (tiemann@cygnus.com) @@ -523,6 +523,9 @@ split_nonconstant_init_1 (tree dest, tree init) default: gcc_unreachable (); } + + /* The rest of the initializer is now a constant. */ + TREE_CONSTANT (init) = 1; } /* A subroutine of store_init_value. Splits non-constant static |