This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386]: Fix for PR/35842
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Kai Tietz" <ktietz70 at googlemail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Date: Sun, 6 Apr 2008 21:25:28 +0200
- Subject: Re: [patch i386]: Fix for PR/35842
- References: <90baa01f0804061207u6863e091m969b3edb10ff5713@mail.gmail.com>
On Sun, Apr 6, 2008 at 9:07 PM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hi,
>
> This fixes the second ICE related to PR/35842. In
> legitimize_pic_address a case for dllimported variables was not
> completly implemented.
>
> 2008-04-06 Kai Tietz <kai.tietz@onevision.com>
>
> PR/35842
> * config/i386/i386.c (legitimize_pic_address): Add treating
> of dllimport SYM_REF's.
> (legitimize_dllimport_symbol): Add prototype.
>
> It was tested on i686-unknown-linux without regressions.
> Is this patch ok for apply?
Ok if you add the reduced C testcase to gcc.c-torture/compile/
Thanks,
Richard.