This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: [4.5] Find more autoinc addressing for induction variables
- From: "Rahul Kharche" <rahul at IceraSemi dot com>
- To: "Bernd Schmidt" <bernds_cb1 at t-online dot de>
- Cc: <gcc at gcc dot gnu dot org>, "sdkteam-gnu" <sdkteam-gnu at IceraSemi dot com>
- Date: Fri, 22 May 2009 16:46:49 +0100
- Subject: RE: [4.5] Find more autoinc addressing for induction variables
- References: <49998A2D.5000401@t-online.de> <4A0AED10.7070109@t-online.de> <571f6b510905131427p30afe791h65118fca411f2ed@mail.gmail.com> <4A0B54D2.4030208@t-online.de> <571f6b510905131558g272ad0f2u2bb4fe5d613f2c3b@mail.gmail.com> <4A0C4F06.3080707@t-online.de> <571f6b510905141426t1ec4a7e6i2bd69d90362f394@mail.gmail.com> <4A0D4D12.1050607@t-online.de> <571f6b510905150525g22898204p340aa5540644f5bd@mail.gmail.com> <4A0D8599.7080305@t-online.de> <4A0E031F.7030007@t-online.de> <4D60B0700D1DB54A8C0C6E9BE69163700A186C3E@EXCHANGEVS.IceraSemi.local> <4A16CB02.8090405@t-online.de>
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