[PATCH, ARM] ARM Fortran testcase fixes

Andrew Jenner andrew@codesourcery.com
Thu May 22 07:14:00 GMT 2008


Hi,

The attached patches fix most of the testcase failures for Fortran on 
ARM EABI Linux systems, including this one: 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964

A full test pass was performed with these patches to confirm that no 
testcases are broken by them.

Thanks,

Andrew


ChangeLog (line_endings)

     gcc/testsuite/
     * gfortran.dg/fmt_l.f90: Modify dg-output regexp to allow it to
     match lines ending with CRLF.

ChangeLog (regrename)

     gcc/
     * regrename.c: Unshare RTX earlier in build_def_use to avoid
     corruption of dup_loc.

ChangeLog (nested_functions_and_r12)

     gcc/
     * config/arm/arm.c: (arm_compute_static_chain_stack_bytes): New
     function.
     (arm_compute_initial_elimination_offset): Use it.
     (arm_compute_save_reg_mask): Include static chain save slot when
     calculating alignment.
     (arm_get_frame_offsets): Ditto.
     (thumb1_compute_save_reg_mask): Ensure we have a low register saved
     that we can use to decrement the stack when the stack decrement
     could be too big for an immediate value in a single insn.
     (thumb1_expand_prologue): Avoid using r12 for stack decrement.

-- 
Andrew Jenner
CodeSourcery
andrew@codesourcery.com
(650) 331-3385 x728
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line_endings.diff
Type: text/x-patch
Size: 4176 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080522/34259456/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nested_functions_and_r12.diff
Type: text/x-patch
Size: 7406 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080522/34259456/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regrename.diff
Type: text/x-patch
Size: 873 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080522/34259456/attachment-0002.bin>


More information about the Gcc-patches mailing list