This is the mail archive of the 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: RFA: Add dg-require-int-sized-pointers to testsuite

On Mon, Nov 01, 2004 at 08:03:02PM +0000, Richard Sandiford wrote:
> 	* lib/target-supports.exp (get_compiler_messages): New procedure,
> 	extracting and generalizing code from...
> 	(check_named_sections_available):
> 	(check_int_sized_pointers): New procedure.
> 	* lib/gcc-dg.exp (dg-require-int-sized-pointers): New procedure.
> 	* g++.dg/parse/cast1.C: Use dg-require-int-sized-pointers.
> 	* g++.old-deja/g++.mike/p784.C: Likewise.

I like this patch, although I can't approve it.  I've been working on
similar dg-require* support for ilp32 and lp64, and your new procedure
get_compiler_messages allows me to do it in a way that is much simpler
than what I was doing originally.

I'm trying to disentangle my new changes into small patches, but part of
what they'll do is add dg-require-effective-target which takes a keyword
argument like "lp64", "ilp32", "vmx_hw", and anything else where the
corresponding check_* procedure returns a simple 1 or 0.  I'll try to
get that piece submitted soon so you can see if you'd like to use that
instead of a separate dg-require-int-sized-pointers.


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