public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* ICE with gcc 3.4
@ 2004-06-22  9:57 Nitin Yewale
  2004-06-23 23:49 ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Nitin Yewale @ 2004-06-22  9:57 UTC (permalink / raw)
  To: gcc-bugs

Hi,
	I would like to add following test case in dejagnu test suite under "gcc/testsuite/gcc.c-torture/compile" directory.

	Following program was giving ICE with "h8300-elf-gcc -ms -mn -c kp_ice.cpp" command line.

	H8300-elf toolchain is built by using gcc 3.4.

/**************** START of kp_ice.cpp**************************/
void f(void) __attribute__((interrupt_handler));
void g(void) { }
void f(void) { g(); }
/**************** End of kp_ice.cpp**************************/

Regards,
Nitin Yewale,
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ICE with gcc 3.4
  2004-06-22  9:57 ICE with gcc 3.4 Nitin Yewale
@ 2004-06-23 23:49 ` Jim Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Wilson @ 2004-06-23 23:49 UTC (permalink / raw)
  To: Nitin Yewale; +Cc: gcc-bugs

Nitin Yewale wrote:
> 	I would like to add following test case in dejagnu test suite under "gcc/testsuite/gcc.c-torture/compile" directory.

Mailing it to gcc-bugs will not accomplish this.  Patches need to be 
sent to gcc-patches.  This also needs to be sent as a patch with a 
ChangeLog entry.

Also, you need a bit more work on the testcase.  It needs to fit into 
the testsuite.  This is an h8300 only testcase, so it needs to be marked 
as such.  See examples already in the testsuite, for instance, 
gcc/testsuite/gcc.dg/h8300-stack-1.c.  You also need to indicate where 
this is a compile only or compile and run testcase, and you need to put 
in any special compiler options, etc.  There are dg-* commands for all 
of this stuff.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ICE with gcc 3.4
  2004-06-24  6:41 Nitin Yewale
@ 2004-06-25  2:06 ` Jim Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Wilson @ 2004-06-25  2:06 UTC (permalink / raw)
  To: Nitin Yewale; +Cc: gcc-bugs

On Wed, 2004-06-23 at 23:26, Nitin Yewale wrote:
> 	I am able to locate only one test case for h8300 target [h8300-stack-1.c].

Try using grep.  There are at least two others in the gcc.dg directory,
and maybe some others in other directories.

> 	Please suggest the standard naming convention I should use for further test cases.

There is no standard naming scheme.  Sometimes they are named after the
date that they are submitted.  Sometimes they are named after the
feature that is broken.  See for instance the gcc.dg/attr-* testcases.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ICE with gcc 3.4
@ 2004-06-24  6:41 Nitin Yewale
  2004-06-25  2:06 ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: Nitin Yewale @ 2004-06-24  6:41 UTC (permalink / raw)
  To: Jim Wilson; +Cc: gcc-bugs

Hi Jim,
	
	Thank you very much for valuable suggestions. 
	
	I have a couple of crucial test cases for H8 and SH targets and while posting on gcc-patches mailing list and I will make sure that all test cases are in proper format.

	I have posted the test case on gcc-patches mailing list http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01871.html

	I am able to locate only one test case for h8300 target [h8300-stack-1.c].
 
	Please suggest the standard naming convention I should use for further test cases.
Thanks and Regards,
Nitin Yewale,
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-----Original Message-----
From: Jim Wilson [mailto:wilson@specifixinc.com]
Sent: Thursday, June 24, 2004 5:13 AM
To: Nitin Yewale
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: ICE with gcc 3.4


Nitin Yewale wrote:
> 	I would like to add following test case in dejagnu test suite under "gcc/testsuite/gcc.c-torture/compile" directory.

Mailing it to gcc-bugs will not accomplish this.  Patches need to be 
sent to gcc-patches.  This also needs to be sent as a patch with a 
ChangeLog entry.

Also, you need a bit more work on the testcase.  It needs to fit into 
the testsuite.  This is an h8300 only testcase, so it needs to be marked 
as such.  See examples already in the testsuite, for instance, 
gcc/testsuite/gcc.dg/h8300-stack-1.c.  You also need to indicate where 
this is a compile only or compile and run testcase, and you need to put 
in any special compiler options, etc.  There are dg-* commands for all 
of this stuff.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-25  2:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22  9:57 ICE with gcc 3.4 Nitin Yewale
2004-06-23 23:49 ` Jim Wilson
2004-06-24  6:41 Nitin Yewale
2004-06-25  2:06 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).