]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/23911 (Failure to propagate constants from a const initialize...
authorSteven Bosscher <stevenb@suse.de>
Thu, 29 Sep 2005 12:25:10 +0000 (12:25 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 29 Sep 2005 12:25:10 +0000 (12:25 +0000)
commit1ebd8d9ac1a51af9a1a65f1db575fd2499835074
treebb658ab7113eb0a075f5c79afff242ff5018b2f5
parent577b2a064ee8634cd57b36cecddb4e9e2a57e51c
re PR tree-optimization/23911 (Failure to propagate constants from a const initializer for _Complex)

gcc/
PR tree-optimization/23911
* tree-ssa-ccp.c (fold_const_aggregate_ref): Handle REALPART_EXPR
and IMAGPART_EXPR too.

testsuite/
* gcc.dg/pr23911.c: New test.

From-SVN: r104771
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr23911.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c