OSDN Git Service

* config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 17:41:06 +0000 (17:41 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Feb 2012 17:41:06 +0000 (17:41 +0000)
prototype from here to...
* config/avr/avr.h: ...here.

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

gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.h

index bc8b105..ee9b3df 100644 (file)
@@ -1,3 +1,9 @@
+2012-01-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move
+       prototype from here to...
+       * config/avr/avr.h: ...here.
+
 2012-02-21  Richard Earnshaw  <rearnsha@arm.com>
 
        PR target/52294
index fa8c421..229f385 100644 (file)
@@ -33,7 +33,6 @@ extern int avr_simple_epilogue (void);
 extern int avr_hard_regno_rename_ok (unsigned int, unsigned int);
 extern rtx avr_return_addr_rtx (int count, rtx tem);
 extern void avr_register_target_pragmas (void);
-extern bool avr_accumulate_outgoing_args (void);
 extern void avr_init_expanders (void);
 
 #ifdef TREE_CODE
index 1b7bd35..6bc73de 100644 (file)
@@ -676,6 +676,10 @@ struct GTY(()) machine_function
    required in order for pushes to be generated.  */
 #define PUSH_ROUNDING(X)       (X)
 
+/* Define prototype here to avoid build warning.  Some files using
+   ACCUMULATE_OUTGOING_ARGS (directly or indirectly) include
+   tm.h but not tm_p.h.  */
+extern bool avr_accumulate_outgoing_args (void);
 #define ACCUMULATE_OUTGOING_ARGS avr_accumulate_outgoing_args()
 
 #define INIT_EXPANDERS avr_init_expanders()