This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/71496] Two picbase loads created for libjava code on powerpc-darwin after rev 228022.


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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Sun Dec 11 19:24:46 2016
New Revision: 243532

URL: https://gcc.gnu.org/viewcvs?rev=243532&root=gcc&view=rev
Log:
[Darwin, PPC] Fix PR71496 by marking pic base loads as non-copyable.

The Darwin pic base loads (and reloads for non-local-gotos) are not
validly copied (since the pic base label would be duplicated).  Thus, 
mark the pic base {re-}loads as non-copyable.

gcc/

2016-12-11  Iain Sandoe  <iain@codesourcery.com>

        PR rtl-optimization/71496
        * config/rs6000/darwin.md (load_macho_picbase_si): Mark as non-
        copyable.  (load_macho_picbase_di, reload_macho_picbase_si,
        reload_macho_picbase_di): Likewise.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/darwin.md

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