diff options
author | Chris Johns <chrisj@rtems.org> | 2009-06-17 22:58:19 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-06-17 22:58:19 +0000 |
commit | f9eb21d8639910bde675e1365cfd94432c5b8588 (patch) | |
tree | 319c258c3a6d2d526002572b3795ce4182e0b315 | |
parent | 2009-06-18 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-f9eb21d8639910bde675e1365cfd94432c5b8588.tar.bz2 |
2009-06-18 Chris Johns <chrisj@rtems.org>
* psx04/task3.c: Declare unions volatile to workaround the H8300
gcc bug.
-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; |