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: PATCH: two testcases for g++ bugs in latest snapshots. (committed)


>     Robert> I see it whining about no match for foo(void).  Is this
>     Robert> your intent?  Please verify this testcase.
> 
> No, I see:
> /egcs/egcs/bin/g++ -c -Wall -O -fgcse -frerun-loop-opt eb132.C 
> eb132.C: In method `void a::bar()':

Here's a helpful hint: You can run specific testcases in the suite
(admittedly, not nearly as fast as what you did) by passing wildcards
like this:

make check-g++ RUNTESTFLAGS="old-deja.exp=eb13?.C" 

This, like much life with DejaGNU, probably is in the doc somewhere, but
is non-obvious.  This is where having names is advantageous.  If you
just want to test exception handling being able to run all the eh tests
as '...exp=eh*' is handy.   Having test cases numbered or dated like this
impairs this ability.   But if the cases aren't sorted well, that's about
the best we can hope for...

> Maybe the `-c' got left out somehow when you pass the special options to
> g++ (then the linker complains).

Aaaah.   Now I see.   The correct header to suppress linking is not
	// Build don't link
but
	// Build don't link: 

I've committed this change for eb13?.C

Thanx,
RJL
	


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