Commit b7af94d8 by Chris Lattner Committed by Chris Lattner

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
parent a9210574
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
......
/* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment