Ticket #14106: 0001-Apply-patch-to-fix-fancy_abort-error-on-macOS.patch

File 0001-Apply-patch-to-fix-fancy_abort-error-on-macOS.patch, 1.4 KB (added by robg2, 6 years ago)

Apply FreeBSD 'fancy_abort' fixes to buildtools.

  • gcc/gcc/auto-profile.c

    From af3c4cd70252dedf8d1b2c1766cb747d412aa80a Mon Sep 17 00:00:00 2001
    From: Rob Gowin <robgowin@gmail.com>
    Date: Mon, 23 Apr 2018 16:21:23 -0500
    Subject: [PATCH] Apply patch to fix fancy_abort error on macOS.
    
    Patch comes from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216266
    ---
     gcc/gcc/auto-profile.c               | 4 +---
     gcc/gcc/graphite-isl-ast-to-gimple.c | 2 +-
     2 files changed, 2 insertions(+), 4 deletions(-)
    
    diff --git a/gcc/gcc/auto-profile.c b/gcc/gcc/auto-profile.c
    index ba2d5ab65..02fb4a0a9 100644
    a b along with GCC; see the file COPYING3. If not see  
    1919<http://www.gnu.org/licenses/>.  */
    2020
    2121#include "config.h"
    22 #include "system.h"
    23 
    24 #include <string.h>
    2522#include <map>
    2623#include <set>
     24#include "system.h"
    2725
    2826#include "coretypes.h"
    2927#include "hash-set.h"
  • gcc/gcc/graphite-isl-ast-to-gimple.c

    diff --git a/gcc/gcc/graphite-isl-ast-to-gimple.c b/gcc/gcc/graphite-isl-ast-to-gimple.c
    index a83a85dba..250cc6935 100644
    a b extern "C" {  
    3838#endif
    3939#endif
    4040
     41#include <map>
    4142#include "system.h"
    4243#include "coretypes.h"
    4344#include "hash-set.h"
    extern "C" {  
    7576#include "tree-scalar-evolution.h"
    7677#include "gimple-ssa.h"
    7778#include "tree-into-ssa.h"
    78 #include <map>
    7979
    8080#ifdef HAVE_isl
    8181#include "graphite-poly.h"