This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: REG_INC notes going AWOL during reload
- To: Herman ten Brugge <Haj dot Ten dot Brugge at net dot HCC dot nl>
- Subject: Re: REG_INC notes going AWOL during reload
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Mon, 22 Feb 1999 01:17:32 -0700
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
> I missed the test program in Michael Hayes bug report. I did sent it
> to him so here it is:
>
> char line[4] = { '1', '9', '9', '\0' };
>
> int main()
> {
> char *ptr = line + 3;
>
> while ((*--ptr += 1) > '9') *ptr = '0';
> if (line[0] != '2' || line[1] != '0' || line[2] != '0')
> abort();
> return 0;
> }
Thanks. Installed.
jeff