This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch PR 51900]: Fix PE's delegitimize_address functions
2012/1/22 Jakub Jelinek <jakub@redhat.com>:
> On Sun, Jan 22, 2012 at 08:05:12PM +0100, Kai Tietz wrote:
>> this patch fixes reported issue in PR about common-symbols and fix
>> behavior about -fcommon/-fno-common. ?Additionally it adds proper
>> support for weakref, local-variant of weaks, and tries to handle
>> resolution-file information for PE-COFF.
>
> The dwarf2out.c change looks wrong to me, either it is necessary
> for it to be CONST to be delegitimized, then it should be really CONST in
> the IL too, or it is not needed, then delegitimize_address those targets
> should handle it even without CONST.
Well, it is CONST in IL, but CONST { list-of-addresses }.
Ok, I will rework target's delegitimize_address and don't post-fix rtx
by CONST at call for in dwarf2out. Would that be ok for you?
Kai