This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to fix PR57559 for s390


The following patch fixes

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57559

The problem was in systematic discouraging reload symbol address in memory. The patch actually reverts a fix for a x86/x86-64 PR for -fpie. The patch implements another solution for this problem (see changes for lra_emit_add).

The patch was successfully bootstrapped and tested on x86/x86-64 and s390.

Committed as rev. 199859.

2013-06-08  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimization/57559
        * lra-constraints.c (process_alt_operands): Don't discourage
        memory with known offset for offsetable memory constraint.
        * lra.c (lra_emit_add): Exchange y and z for 2-op add insn.

2013-06-08  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimization/57559
        * gcc.target/s390/pr57559.c : New    test.

Attachment: pr57559.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]