This is the mail archive of the gcc@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: Q about assignment expansion


On 9/24/07, DJ Delorie <dj@redhat.com> wrote:
>
> I'm trying to get libfortran (all_l4.c) building for m32c, and it
> complains (eventually) that it can't add PSI (pointer) and HI
> (integer) types together.  I've backtracked to the statement just
> before it's lowered to rtl, see below.  Note that pointers are PSI
> mode (24 bits) for this chip.  My question is: Who's responsible for
> converting address types to pointer sizes?

>From what I recall and what I remember the main issue is that IV-opts
like producing:
[MEM index: ]

So you might want to look into what IV-opts is producing.

Note it might be better to use debug_generic_expr instead of
debug_tree (it is easier to read in most cases).

Thanks,
Andrew Pinski


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