diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3caaafe88f5..7f070e87f27 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-21 Iain Sandoe + + * config/rs6000/rs6000.c (TARGET_NO_PROTOTYPE): Move from here... + * config/rs6000/rs6000-call.c: ... to here. + 2019-07-20 Segher Boessenkool * config/rs6000/predicates.md (offsettable_mem_operand): Allow volatile diff --git a/gcc/config/rs6000/rs6000-call.c b/gcc/config/rs6000/rs6000-call.c index cefb737bae0..2ef8c7f861e 100644 --- a/gcc/config/rs6000/rs6000-call.c +++ b/gcc/config/rs6000/rs6000-call.c @@ -86,6 +86,10 @@ # endif #endif +#ifndef TARGET_NO_PROTOTYPE +#define TARGET_NO_PROTOTYPE 0 +#endif + struct builtin_description { const HOST_WIDE_INT mask; diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index dbb6a0f007f..edd8f2b4df8 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -84,10 +84,6 @@ /* This file should be included last. */ #include "target-def.h" -#ifndef TARGET_NO_PROTOTYPE -#define TARGET_NO_PROTOTYPE 0 -#endif - /* Set -mabi=ieeelongdouble on some old targets. In the future, power server systems will also set long double to be IEEE 128-bit. AIX and Darwin explicitly redefine TARGET_IEEEQUAD and TARGET_IEEEQUAD_DEFAULT to 0, so