cgraphbuild.c (record_reference): Canonicalize constructor values.
authorMichael Matz <matz@suse.de>
Sun, 3 Apr 2011 11:13:09 +0000 (11:13 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Sun, 3 Apr 2011 11:13:09 +0000 (11:13 +0000)
commit0038d4e09077594de90e1b1a53e5ff8e76cd735d
treecffddfa016b791b26c7af434581e9984b8129eea
parent91f2fae8cc58e1b1dae3b62e2407903190ed1af4
cgraphbuild.c (record_reference): Canonicalize constructor values.

* cgraphbuild.c (record_reference): Canonicalize constructor
values.
* gimple-fold.c (canonicalize_constructor_val): Accept being called
without function context.
* cgraphunit.c (cgraph_finalize_compilation_unit): Clear
current_function_decl and cfun.

From-SVN: r171903
gcc/ChangeLog
gcc/cgraphbuild.c
gcc/cgraphunit.c
gcc/gimple-fold.c