From 20db5bc845e1693396ba232d536be633026eb334 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 28 Nov 2004 22:57:38 +0000 Subject: [PATCH] re PR target/18348 (mmix-knuth-mmixware testsuite failure: gcc.dg/uninit-H.c) PR target/18348 * gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0". From-SVN: r91431 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/gcc.dg/uninit-H.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a9da93f..446139a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2004-11-28 Hans-Peter Nilsson + PR target/18348 + * gcc.dg/uninit-H.c (ASM): For unknown targets, define to "= 0". + PR target/18345 * gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error. diff --git a/gcc/testsuite/gcc.dg/uninit-H.c b/gcc/testsuite/gcc.dg/uninit-H.c index 8eea47a..b93bf8d 100644 --- a/gcc/testsuite/gcc.dg/uninit-H.c +++ b/gcc/testsuite/gcc.dg/uninit-H.c @@ -21,7 +21,9 @@ #elif defined __xtensa__ # define ASM __asm__("sp") #else -# define ASM +/* The register name should be target-dependent so for other targets, + we just silence the test. */ +# define ASM = 0 #endif void *load_PCB (void) -- 2.7.4