[PATCH][C++] Fix dump-file corruption
Richard Guenther
richard.guenther@gmail.com
Thu Oct 6 09:20:00 GMT 2005
On 10/6/05, Paolo Bonzini <bonzini@gnu.org> wrote:
>
> > x x x s2
> > get s1 x x s2 s1
> > get s2 x x s1 s2
> > get s3 x s1 s2 s3
>
> > what am I missing?
>
> This:
>
> x s2 x x
> get s1 -> s2 x x s1
> get s2 -> s1 x x s2 !!! WRONG, should be x x s1 s2
And it will be, unless I screwed up. s2 will get swapped with
itself resulting in the x x s1 s2. Double-checking I cannot see
that I screwed.
Richard.
> get s3 -> x x s2 s3 !!! so that now it is x s1 s2 s3
>
> My apologies if I am wrong.
>
> Paolo
>
>
More information about the Gcc-patches
mailing list