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

Re: RFA: Fix debug address mode for TARGET_MEM_REF


On 8 October 2014 12:02, Richard Biener <richard.guenther@gmail.com> wrote:
...
> -      if (POINTER_TYPE_P (TREE_TYPE (exp)))
> -       as = TYPE_ADDR_SPACE (TREE_TYPE (TREE_TYPE (exp)));
> -      else
> -       as = ADDR_SPACE_GENERIC;
> -
> +      as = TYPE_ADDR_SPACE (TREE_TYPE (TREE_TYPE (TREE_OPERAND (exp, 0))));
>        op0 = convert_debug_memory_address (targetm.addr_space.address_mode (as),
>                                           op0, as);
>        if (op0 == NULL_RTX)
>
> is pre-approved.

Thanks.  manually applied, avr2 strftime build confirmed,
i386-pc-linux-gnu bootstrapped, and checked in.


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