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]
Other format: [Raw text]

Re: [checking patch] Commonize some code


Nathan Sidwell wrote:

Hi,
I'll shortly need a TREE_NOT_CHECK macro, and in implementing it, noticed
that the various tree_check_failed routines could be commonized by using
varidic functions.  The tree code zero use ERROR_MARK, so I can't
see it being tested explicitly for, hence it should be ok for the
sentinel value -- I could use an initial count if we want to be paranoid.

I tested the failure routine by forcing a checking failure.

built & tested all languages on i686-pc-linux-gnu, ok?

OK.


--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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