diff options
-rw-r--r-- | testsuites/psxtests/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/psxtests/psx04/task3.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 156acda893..51d9754f17 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,8 @@ +2009-06-18 Chris Johns <chrisj@rtems.org> + + * psx04/task3.c: Declare unions volatile to workaround the H8300 + gcc bug. + 2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com> * Makefile.am, configure.ac: Add mq_send to full queue from ISR case. 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; |