diff options
-rw-r--r-- | cpukit/score/cpu/unix/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/unix/cpu.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index 149019da4d..5eae597875 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,5 +1,10 @@ 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> + * cpu.c: Comment out may_alias so this compiles without a compiler + error. + +2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> + * cpu.c: Merge patch from Till Straumann which would work except gcc core dumps with an ICE when may_alias is used in this code. I filed a GCC PR and reduced optimization to -O0 and it does run again. diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index 27cc25c681..9177e376d3 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/score/cpu/unix/cpu.c @@ -460,7 +460,7 @@ typedef struct AuxFrame_ { void (*eip)(); jmp_buf *pjb; uint32_t old_esp; -} AuxFrame __attribute__((may_alias)); +} AuxFrame /* __attribute__((may_alias)) ICE when not commented out*/; /* MUST make sure this is called in a new frame so it * uses the new stack |