public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* pr45055 on non-scheduling targets...
@ 2011-02-16 10:09 DJ Delorie
  2011-03-10 23:10 ` Hans-Peter Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: DJ Delorie @ 2011-02-16 10:09 UTC (permalink / raw)
  To: gcc


pr45055 tests a scheduling fix, but on targets that don't support
scheduling (like m32c-elf), gcc emits a warning that scheduling is not
supported.  This warning causes the test to fail.  How do we bypass
these types of test cases?  I don't see a suitable effective_target
for scheduling.

spawn -ignore SIGHUP /greed/dj/m32c/gcc/m32c-elf/gcc/xgcc
-B/greed/dj/m32c/gcc/m32c-elf/gcc/
/greed/dj/m32c/gcc/gcc/gcc/testsuite/gcc.dg/pr45055.c -O2 -ftracer
-fsched-pressure -funroll-loops -fschedule-insns -fcompare-debug
-DSTACK_SIZE=4096 -DNO_TRAMPOLINES -S -msim -mcpu=m16c -o pr45055.s

/greed/dj/m32c/gcc/gcc/gcc/testsuite/gcc.dg/pr45055.c:1:0: warning:
instruction scheduling not supported on this target machine [enabled
by default]

FAIL: gcc.dg/pr45055.c (test for excess errors)

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

* Re: pr45055 on non-scheduling targets...
  2011-02-16 10:09 pr45055 on non-scheduling targets DJ Delorie
@ 2011-03-10 23:10 ` Hans-Peter Nilsson
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Peter Nilsson @ 2011-03-10 23:10 UTC (permalink / raw)
  To: DJ Delorie; +Cc: gcc

On Tue, 15 Feb 2011, DJ Delorie wrote:
>
> pr45055 tests a scheduling fix, but on targets that don't support
> scheduling (like m32c-elf), gcc emits a warning that scheduling is not
> supported.  This warning causes the test to fail.  How do we bypass
> these types of test cases?  I don't see a suitable effective_target
> for scheduling.

Add the missing predicate and use it?

> FAIL: gcc.dg/pr45055.c (test for excess errors)

brgds, H-P

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

end of thread, other threads:[~2011-03-10 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-16 10:09 pr45055 on non-scheduling targets DJ Delorie
2011-03-10 23:10 ` Hans-Peter Nilsson

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).