Re: [PATCH 1/2] score: Add RTEMS_UNREACHABLE

2016-03-22 Thread Joel Sherrill
On Tue, Mar 22, 2016 at 9:49 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > In case we reach the program point marked with RTEMS_UNREACHABLE(), then > the behaviour is undefined according to the GCC documentation. Maybe we > should add some stuff if RTEMS_DEBUG is defined. > >

Re: [PATCH 1/2] score: Add RTEMS_UNREACHABLE

2016-03-22 Thread Sebastian Huber
In case we reach the program point marked with RTEMS_UNREACHABLE(), then the behaviour is undefined according to the GCC documentation. Maybe we should add some stuff if RTEMS_DEBUG is defined. On 22/03/16 07:25, Sebastian Huber wrote: --- cpukit/score/include/rtems/score/basedefs.h | 9

Re: [PATCH 1/2] score: Add RTEMS_UNREACHABLE

2016-03-22 Thread Chris Johns
On 22/03/2016 17:25, Sebastian Huber wrote: --- cpukit/score/include/rtems/score/basedefs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index facaed9..5d7f5b4 100644 --- a/cpukit/score/i

[PATCH 1/2] score: Add RTEMS_UNREACHABLE

2016-03-21 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/basedefs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index facaed9..5d7f5b4 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++ b/cpukit/score