Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2020 18:07:17 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547202 - in head/devel/freebsd-gcc6: . files
Message-ID:  <202008311807.07VI7Hj2009915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer)
Date: Mon Aug 31 18:07:17 2020
New Revision: 547202
URL: https://svnweb.freebsd.org/changeset/ports/547202

Log:
  Fix build of amd64-gcc6 and i386-gcc6 with LLVM 11.
  
  clang errors when assigning NULL (nullptr) to a bool.
  
  Reviewed by:	zeising
  Differential Revision:	https://reviews.freebsd.org/D26222

Added:
  head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c   (contents, props changed)
Modified:
  head/devel/freebsd-gcc6/Makefile

Modified: head/devel/freebsd-gcc6/Makefile
==============================================================================
--- head/devel/freebsd-gcc6/Makefile	Mon Aug 31 18:07:12 2020	(r547201)
+++ head/devel/freebsd-gcc6/Makefile	Mon Aug 31 18:07:17 2020	(r547202)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gcc
 PORTVERSION=	6.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	GCC/releases/gcc-${DISTVERSION}
 PKGNAMEPREFIX=	${TARGETARCH}-

Added: head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/freebsd-gcc6/files/patch-gcc-config-i386-386.c	Mon Aug 31 18:07:17 2020	(r547202)
@@ -0,0 +1,11 @@
+--- gcc/config/i386/i386.c.orig	2020-08-28 09:37:26.849947000 -0700
++++ gcc/config/i386/i386.c	2020-08-28 09:37:51.260814000 -0700
+@@ -8747,7 +8747,7 @@ function_arg_advance_32 (CUMULATIVE_ARGS *cum, machine
+ 			 HOST_WIDE_INT words)
+ {
+   int res = 0;
+-  bool error_p = NULL;
++  bool error_p = false;
+ 
+   if (TARGET_IAMCU)
+     {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008311807.07VI7Hj2009915>