This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q about assignment expansion
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "DJ Delorie" <dj at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Sep 2007 02:20:12 -0700
- Subject: Re: Q about assignment expansion
- References: <200709250416.l8P4Gotc011579@greed.delorie.com>
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