diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-07 15:26:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-07 15:26:43 +0000 |
commit | 7d12442c4de88a1f6236ec9256c6bb94b1d98845 (patch) | |
tree | 66b2f61a870030cf97530a187955003c7bb6a53d /cpukit/score/include/rtems/score/interr.h | |
parent | 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-7d12442c4de88a1f6236ec9256c6bb94b1d98845.tar.bz2 |
2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/system.h, score/include/rtems/score/interr.h: Add
compiler conditional attribute for methods that do not return. This
avoids gcc generating unreachable code following calls to
_Internal_error_Occurred.
Diffstat (limited to 'cpukit/score/include/rtems/score/interr.h')
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index a9fb98c0ae..d41d9cdb58 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -6,7 +6,7 @@ */ /* - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -91,7 +91,7 @@ void _Internal_error_Occurred( Internal_errors_Source the_source, boolean is_internal, uint32_t the_error -); +) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; #ifdef __cplusplus } |