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]

Re: GCC kernel miscompile with O2


On Thu, Feb 15, 2001 at 12:41:33AM -0500, William Stearns wrote:
>         set_fault_addr(&&error);
>         memcpy(to, from, n);
>         goto out;
>  error:
>         ret = n - ((unsigned long) get_fault_addr() - (unsigned long) from);

This is not even close to legal.  Reread the docs.

I don't see this code in either the 2.2 or 2.4 trees.
Where did you pull this from?


r~


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