From f9eb21d8639910bde675e1365cfd94432c5b8588 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 17 Jun 2009 22:58:19 +0000 Subject: 2009-06-18 Chris Johns * psx04/task3.c: Declare unions volatile to workaround the H8300 gcc bug. --- testsuites/psxtests/psx04/task3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psx04') diff --git a/testsuites/psxtests/psx04/task3.c b/testsuites/psxtests/psx04/task3.c index 8f3990ef31..da4fb44e53 100644 --- a/testsuites/psxtests/psx04/task3.c +++ b/testsuites/psxtests/psx04/task3.c @@ -27,7 +27,7 @@ void *Task_3( unsigned int remaining; int status; int sig; - union sigval value; + volatile union sigval value; /* should be removed once the H8300 target is fixed */ sigset_t mask; siginfo_t info; -- cgit v1.2.3