This is the mail archive of the gcc-patches@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: memcheck tests fail on mn10300



  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


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