[testsuite] new test case for ICE on H8/300 target

Nitin Yewale NitinY@KPITCummins.com
Mon Jun 28 12:22:00 GMT 2004


Hi Jeff,
	
	Thanks for adding a new test case in test suite.

	I have a small doubt regarding the test case. I am trying to understand inclusion of the options "-ms -mn" in the test case itself. 

While executing my kpice1.c test case I was using following .exp file to specify the targets which covers almost all the combinations of targets. I was getting FAIL only for expected targets i.e. "-ms -mn".

******************************************************************
load_lib "framework.exp"

#
# Determine target machines for all known targets
#
verbose "Global Config File: target_triplet is $target_triplet" 2
global target_list
case "$target_triplet" in {
    { "h8300-*-*" } 
    	{
        	set target_list { "h8300-sim{-ms -mn,-mno-h,-ms,-ms2600 -ms,-ms2600 -ms -mn, -mno-s2600}" 
	}
    }
}
********************************************************************** 

With the cvs test case and above my .exp file I am getting FAIL result for all targets.

Could you please tell me the reason of inclusion of targets in the test file?

Thanks and Regards,
Nitin Yewale. 


-----Original Message-----
From: Jeffrey A Law [mailto:law@redhat.com]
Sent: Thursday, June 24, 2004 1:29 AM
To: Nitin Yewale
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [testsuite] new test case for ICE on H8/300 target


On Wed, 2004-06-23 at 03:06, Nitin Yewale wrote:
> Hi,
> 	I would like to add following test case in dejagnu test suite under "gcc.c-torture/compile" directory.
> 
> 	Following program was giving ICE with "h8300-elf-gcc -ms -mn -c kpice1.c" command line.
> 
> 	H8300-elf toolchain is built by using gcc 3.4.
> 
> 	Patch for above ICE is available on http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00227.html
> 
> /**************** START of kpice1.c**************************/
> 
> /* { dg-do compile { target h8300-*-* } } */
> void f(void) __attribute__((interrupt_handler));
> void g(void) { }
> void f(void) { g(); }
> 
> /**************** End of kpice1.c**************************/
THanks.  I added this to the testsuite.

jeff




More information about the Gcc-patches mailing list