public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, arm] Fix XFAIL in gcc.c-torture/execute/941014-1.x
@ 2002-10-29 21:17 Adam Nemet
  2002-10-30  2:28 ` Richard Earnshaw
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Nemet @ 2002-10-29 21:17 UTC (permalink / raw)
  To: gcc-patches; +Cc: nickc, rearnsha

Hi,

This testcase used to be an XFAIL for thumb-*-elf.  Now that thumb-elf
has been deprecated, this fix modifies the testcase, so that now we
XFAIL for arm-*-elf/-mthumb with -O0.  (With -O1 and above the
testcase passes since addr2 is eliminated and is replaced with addr1.)

This patch was reg-tested together with my previous patch on
arm-sim/-mthumb: gcc.c-torture/execute/941014-1.c -O0 execution is now
an XFAIL.

Please apply if OK.

Adam

testsuite/ChangeLog:

2002-10-29  Adam Nemet  <anemet@lnxw.com>

	* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
	-mthumb.  Only xfail with -O0.

Index: 941014-1.x
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/941014-1.x,v
retrieving revision 1.2
diff -c -r1.2 941014-1.x
*** 941014-1.x	16 Dec 1998 22:13:15 -0000	1.2
--- 941014-1.x	30 Oct 2002 04:08:51 -0000
***************
*** 1,6 ****
! # This doesn't work for thumb-elf
   
! if { [istarget "thumb-*-elf"] } {
!         set torture_execute_xfail "thumb-*-elf"
  }
  return 0
--- 1,15 ----
! # This doesn't always work for Thumb.
   
! if { [istarget arm-*-elf] } {
!     set torture_eval_before_execute {
! 	global compiler_conditional_xfail_data
! 	set compiler_conditional_xfail_data {
! 	    "Thumb sets the last bit of function relocations" \
! 		    "arm-*-elf" \
! 		    { { "-mthumb" "-O0" } } \
! 		    { "" }
! 	}
!     }
  }
+ 
  return 0

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

end of thread, other threads:[~2002-11-06 10:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 21:17 [PATCH, arm] Fix XFAIL in gcc.c-torture/execute/941014-1.x Adam Nemet
2002-10-30  2:28 ` Richard Earnshaw
2002-10-31  0:47   ` Adam Nemet
2002-10-31  1:21     ` Richard Earnshaw
2002-10-31  8:05       ` Adam Nemet
2002-11-05 11:14       ` Adam Nemet
2002-11-06  2:19         ` Richard Earnshaw

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