[Bug target/61976] aix64: Data corruption in struct passed by value

dje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 15 17:02:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61976

--- Comment #5 from David Edelsohn <dje at gcc dot gnu.org> ---
Author: dje
Date: Wed May 15 17:01:42 2019
New Revision: 271255

URL: https://gcc.gnu.org/viewcvs?rev=271255&root=gcc&view=rev
Log:
        * xcoffout.h (xcoff_private_rodata_section_name): Declare.
        * xcoffout.c (xcoff_private_rodata_section_name): Define.
        * config/rs6000/rs6000.c (rs6000_xcoff_asm_init_sections): Create
        read_only_private_data_section using coff_private_rodata_section_name.
        (rs6000_xcoff_file_start): Generate coff_private_rodata_section_name.

        PR target/61976
        * config/rs6000/rs6000.c (rs6000_function_arg): Don't pass aggregates
        in FPRs on AIX. Ensure type is non-NULL.
        (rs6000_arg_partial_bytes): Same.

Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-8-branch/gcc/xcoffout.c
    branches/gcc-8-branch/gcc/xcoffout.h


More information about the Gcc-bugs mailing list