diff mbox

[committed,testsuite] Tweak gcc.dg/stack-usage-1.c on SH

Message ID 20120620.073107.280138156.kkojima@rr.iij4u.or.jp
State New
Headers show

Commit Message

Kaz Kojima June 19, 2012, 10:31 p.m. UTC
Hi,

I've applied the attached patch which is a tiny SH specific
change of gcc.dg/stack-usage-1.c test.  Tested on sh-linux
and i686-pc-linux-gnu.

Regards,
	kaz
--
2012-06-19  Kaz Kojima  <kkojima@gcc.gnu.org>

	* gcc.dg/stack-usage-1.c: Use sh*-*-* instead of sh-*-*.

Comments

Eric Botcazou June 20, 2012, 7:06 a.m. UTC | #1
> I've applied the attached patch which is a tiny SH specific
> change of gcc.dg/stack-usage-1.c test.  Tested on sh-linux
> and i686-pc-linux-gnu.

This is wrong, please remove the dg-options line and do like the other targets.
Kaz Kojima June 20, 2012, 7:26 a.m. UTC | #2
Eric Botcazou <ebotcazou@adacore.com> wrote:
> This is wrong, please remove the dg-options line and do like the other targets.

I'll revert that line and use my patch in the trail #11 of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53621.

Regards,
	kaz
diff mbox

Patch

--- ORIG/trunk/gcc/testsuite/gcc.dg/stack-usage-1.c	2012-06-16 09:29:54.000000000 +0900
+++ trunk/gcc/testsuite/gcc.dg/stack-usage-1.c	2012-06-19 07:55:54.000000000 +0900
@@ -1,6 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-fstack-usage" } */
-/* { dg-options "-fstack-usage -fomit-frame-pointer" { target { sh-*-* } } } */
+/* { dg-options "-fstack-usage -fomit-frame-pointer" { target { sh*-*-* } } } */
 
 /* This is aimed at testing basic support for -fstack-usage in the back-ends.
    See the SPARC back-end for example (grep flag_stack_usage_info in sparc.c).