[4.5] Find more autoinc addressing for induction variables
Rahul Kharche
rahul@IceraSemi.com
Fri May 22 19:05:00 GMT 2009
Hi,
Its fixed for me. I was missing get_ref_tag () in copy_ref_info () when
I patched against 4.5.
Thanks again,
Rahul
-----Original Message-----
From: Bernd Schmidt [mailto:bernds_cb1@t-online.de]
Sent: 22 May 2009 16:56
To: Rahul Kharche
Cc: gcc@gcc.gnu.org; sdkteam-all
Subject: Re: [4.5] Find more autoinc addressing for induction variables
Hi,
Rahul Kharche wrote:
> I am trialing this patch on a private GCC port that I'm working on.
> The patch works well with several test cases we have. However, fails
> on the following
>
> int
> main ()
> {
> const int arr[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
> int i;
>
> for (i = 0; i < 10; i++)
> {
> printf("arr[%d] : %d\n", i, arr[i]);
> }
> }
I'm not getting anything that looks like the dump you sent. What
version of gcc is your port based on?
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
More information about the Gcc
mailing list