This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Partial fix for PR target/68662
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Jan 2016 14:25:17 -0500
- Subject: Re: [PATCH] Partial fix for PR target/68662
- Authentication-results: sourceware.org; auth=none
- References: <20160126191530 dot GF3017 at tucnak dot redhat dot com>
On Tue, Jan 26, 2016 at 2:15 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> As Alan mentioned in the PR, there is some other issue still around, but
> by the time I've noticed that, I already had this patch being
> bootstrapped/regtested on powerpc64{,le}-linux (which just passed).
> Ok for trunk and deal with the rest incrementally?
>
> 2016-01-26 Jakub Jelinek <jakub@redhat.com>
>
> PR target/68662
> * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
> toc_label_name unconditionally.
> (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
> SYMBOL_REF string. Use toc_label_name instead of constructing
> LCTOC1.
> (rs6000_elf_declare_function_name): Use toc_label_name instead of
> constructing LCTOC1.
This is okay as an incremental fix.
Thanks, David