diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-21 19:04:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-21 19:04:31 +0000 |
commit | 8e11da7e5e2fe8c1123d1b2e52a6b603ba79bfee (patch) | |
tree | 2e921f3f0ea3ec57a187aa3ffb9603195cb51ebc /cpukit | |
parent | 2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-8e11da7e5e2fe8c1123d1b2e52a6b603ba79bfee.tar.bz2 |
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Comment out may_alias so this compiles without a compiler
error.
Diffstat (limited to 'cpukit')
-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 |