optimization/8988: gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults
caf@guarana.org
caf@guarana.org
Wed Dec 18 05:46:00 GMT 2002
The following reply was made to PR optimization/8988; it has been noted by GNATS.
From: caf@guarana.org
To: paolo@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
kevin@sylandro.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: optimization/8988: gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults
Date: Thu, 19 Dec 2002 00:38:19 +1100
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Wed, Dec 18, 2002 at 12:54:39PM -0000, paolo@gcc.gnu.org wrote:
> Synopsis: gcc3.2 and 3.2.1 with -O2 and -mcpu=i386 generates code that segfaults
>
> State-Changed-From-To: open->feedback
> State-Changed-By: paolo
> State-Changed-When: Wed Dec 18 04:54:38 2002
> State-Changed-Why:
> For some reason, the attachment got lost. Could you possibly
> provide it again?
> Thanks, Paolo.
*Oops* :)
Preprocessed output *really* attached this time. Sorry about that :)
- Kevin.
--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="smeg.i"
# 1 "smeg.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "smeg.c"
void next_arg(char *p1, char **p2)
{
}
int main(int argc, char *argv[])
{
char str[] = "foo { xx }";
char *ptr = str + 5;
next_arg(ptr, &ptr);
while (*ptr && (*ptr == 13 || *ptr == 32))
ptr++;
return 0;
}
--y0ulUmNC+osPPQO6--
More information about the Gcc-prs
mailing list