re PR rtl-optimization/36111 (GCC 4.4.0-20080501 failed to compile openmpi's malloc...
authorUros Bizjak <uros@gcc.gnu.org>
Mon, 12 May 2008 16:55:43 +0000 (18:55 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 12 May 2008 16:55:43 +0000 (18:55 +0200)
commit162bfc7efa6dd23a317147f89c557a709488b78b
tree3303ac6a9a00c9e80c196162984587a511547af7
parent3d4e720adc67915aa603b23a9d61e393c9000a91
re PR rtl-optimization/36111 (GCC 4.4.0-20080501 failed to compile openmpi's malloc.c file.)

PR rtl-optimization/36111
* recog.c (validate_replace_rtx_1): Unshare new RTL expression
that was created for swappable operands.

testsuite/ChangeLog:

PR rtl-optimization/36111
* gcc.dg/pr36111.c: New test.

From-SVN: r135221
gcc/ChangeLog
gcc/recog.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr36111.c [new file with mode: 0644]