OSDN Git Service

* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2001 14:52:51 +0000 (14:52 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Nov 2001 14:52:51 +0000 (14:52 +0000)
routines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47057 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 2bec869..0cec809 100644 (file)
@@ -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.
index ea9c74d..e582a02 100644 (file)
@@ -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")))
     {