diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-15 14:52:51 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-15 14:52:51 +0000 |
| commit | 98f4b014a1126675a82c67ef3202eac09d4c2e24 (patch) | |
| tree | 1655e09cab1d745a145b5b158f48d0582b9d732b | |
| parent | 93c44ea2c80b80cfcf168dace1366e41697e2f9f (diff) | |
| download | ppe42-gcc-98f4b014a1126675a82c67ef3202eac09d4c2e24.tar.gz ppe42-gcc-98f4b014a1126675a82c67ef3202eac09d4c2e24.zip | |
* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
routines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47057 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bec8695350..0cec809d659 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-11-15 Richard Hodson <hodsonr@dionecorp.com> + + * config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt + routines. + 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> * fix-header.c (read_scan_file): Update. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index ea9c74dc8fe..e582a026ee0 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -187,6 +187,7 @@ dosize (file, op, size) subs since this shouldn't happen often. */ if ((TARGET_H8300 && size <= 4) || ((TARGET_H8300H || TARGET_H8300S) && size <= 8) + || (TARGET_H8300 && interrupt_handler) || (TARGET_H8300 && current_function_needs_context && ! strcmp (op, "sub"))) { |

