memcheck tests fail on mn10300
Jeffrey A Law
law@cygnus.com
Wed May 24 10:25:00 GMT 2000
In message < org0r89o2w.fsf@tamanduatei.dcc.unicamp.br >you write:
> --=-=-=
>
> A couple of memcheck tests fail on mn10300 because, while expanding a
> check_addr libcall, it ends up deciding it has to mark the stack
> address used for the third argument as writable, starts the expansion
> of a set_right libcall and messes it all up.
>
> Since check_addr isn't checked, it doesn't its arguments to be
> marked. This patches avoid the unnecessary nested libcall expansion.
> No regressions. Ok to install?
>
>
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: inline; filename=memcheck.patch
>
> Index: gcc/ChangeLog
> from Alexandre Oliva <aoliva@cygnus.com>
>
> * expr.c (expand_assignment, store_expr, expand_expr,
> expand_expr_unaligned): Set in_check_memory_usage while emitting
> chkr_check_addr libcall.
This is fine. Please install this patch.
Thanks,
jeff
More information about the Gcc-patches
mailing list