--- gcc/config/m68k/xm-amix.h 2018/04/24 18:10:24 1.1.1.1 +++ gcc/config/m68k/xm-amix.h 2018/04/24 18:28:00 1.1.1.3 @@ -17,7 +17,8 @@ GNU General Public License for more deta You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ #include "m68k/xm-m68kv.h" /* Use the System V flavor of m68k host */ @@ -30,9 +31,17 @@ the Free Software Foundation, 675 Mass A #define FULL_PROTOTYPES +#if defined (__GNUC__) && __GNUC__ == 1 +#define alloca __builtin_alloca +#endif + +#if 0 /* I don't want individual ports to be inconsistent about this. + I regard fancy_abort as a half-solution and not the right way + to do things. --rms. */ /* The m88k and mips ports make use of fancy_abort to give possibly helpful abort information rather than just dumping core. They do it in their tm-* files. It seems more logical that this is a characteristic of the host machine and not the target machine, so we do it here. */ #define abort fancy_abort /* give possibly helpful abort info */ +#endif