re PR rtl-optimization/36006 (invalid rtl sharing with -O2)
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 24 Apr 2008 04:53:47 +0000 (06:53 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 24 Apr 2008 04:53:47 +0000 (06:53 +0200)
commit4679504c63fdc21e4c8580c6057ff55de41975b4
tree36e0e1beb53d3b5105244a2db6d150d25ae7c770
parent6412ecdc939b8abdc3c713a83b38928b3567b2ce
re PR rtl-optimization/36006 (invalid rtl sharing with -O2)

        PR rtl-optimization/36006
        * expmed.c (store_fixed_bit_field): Copy op0 rtx before moving
        temp to op0 in order to avoid invalid rtx sharing.

testsuite/ChangeLog:

        PR rtl-optimization/36006
        * gfortran.dg/pr36006-1.f90: New test.
        * gfortran.dg/pr36006-2.f90: Ditto.

From-SVN: r134618
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr36006-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr36006-2.f90 [new file with mode: 0644]