This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11741] internal compiler error at gcse.c:5318


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11741



------- Additional Comments From aj at suse dot de  2003-09-02 11:17 -------
Subject: Re:  internal compiler error at gcse.c:5318

"kazu at cs dot umass dot edu" <gcc-bugzilla@gcc.gnu.org> writes:

> Even more reduced:
>
> void
> foo (char *p)
> {
>   for (;;)
>     {
>       memcpy (p, p + 1, strlen (p));
>       p++;
>     }
> }

This is not valid ISO C since the regions might overlap,

Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]