re PR bootstrap/48161 (hppa*-*-* will not bootstrap on 4.6 branch with release checking)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 18 Mar 2011 08:35:17 +0000 (09:35 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 18 Mar 2011 08:35:17 +0000 (09:35 +0100)
commit419e1853a8747c6d344ed6f23cf6bb63299e485b
tree0bfe806b315f15e8355b6dd3d2cab264dd52adb1
parent378758560b4267ee5cd338d153ee3b93a7e16c3b
re PR bootstrap/48161 (hppa*-*-* will not bootstrap on 4.6 branch with release checking)

PR bootstrap/48161
* expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary
instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER.

* gcc.c-torture/compile/pr48161.c: New test.

From-SVN: r171126
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr48161.c [new file with mode: 0644]