re PR tree-optimization/37433 (tree check: expected function_decl, have string_cst...
authorRichard Guenther <rguenther@suse.de>
Tue, 9 Sep 2008 10:06:54 +0000 (10:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Sep 2008 10:06:54 +0000 (10:06 +0000)
commita135b1c41c63e75ad1b8d74345eca520e973e2f9
treea02c315a092276000b54f52506607d0102e2325c
parent6e548df501d6447f40d294f8fc01b7d8f3b72887
re PR tree-optimization/37433 (tree check: expected function_decl, have string_cst in ccp_fold, at tree-ssa-ccp.c:1050)

2008-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/37433
* tree-ssa-ccp.c (ccp_fold): Properly guard folding of
function calls.

* gcc.c-torture/compile/pr37433.c: New testcase.

From-SVN: r140143
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr37433.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c