public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jack Howarth <howarth@bromo.med.uc.edu>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH][PING][Revised] fix --enable-build-with-cxx on darwin]
Date: Fri, 03 Jun 2011 16:25:00 -0000	[thread overview]
Message-ID: <20110603162525.GA4371@bromo.med.uc.edu> (raw)

   Could someone commit this patch, which was already approved in

http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00411.html

The absence of this patch in gcc trunk prevents --enable-build-with-cxx 
from working on darwin. Thanks in advance.
          Jack

----- Forwarded message from Jack Howarth <howarth@bromo.med.uc.edu> -----

X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bromo.med.uc.edu
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=4.4 tests=AWL,BAYES_00,
	DNS_FROM_OPENWHOIS,FH_DATE_PAST_20XX,RCVD_IN_DNSWL_MED autolearn=no
	version=3.2.5
X-Original-To: howarth@bromo.med.uc.edu
Delivered-To: howarth@bromo.med.uc.edu
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_CX,T_RP_MATCHES_RCVD
Date: Thu, 5 May 2011 08:58:26 -0400
From: Jack Howarth <howarth@bromo.med.uc.edu>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH][Revised] fix --enable-build-with-cxx on darwin
User-Agent: Mutt/1.5.18 (2008-05-17)
Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-patches.gcc.gnu.org>
List-Unsubscribe: <mailto:gcc-patches-unsubscribe-howarth=bromo.msbb.uc.edu@gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-patches/>
List-Post: <mailto:gcc-patches@gcc.gnu.org>
List-Help: <mailto:gcc-patches-help@gcc.gnu.org>
Delivered-To: mailing list gcc-patches@gcc.gnu.org

Currently the bootstrap with --enable-build-with-cxx is broken due to compiler errors of the form
"error: converting 'false' to pointer type 'varpool_node*' [-Werror=conversion-null]". The attached
patch changes the last remaing instance of false to NULL and restores the --enable-build-with-cxx bootstrap.
Tested on x86_64-apple-darwin10. Okay for gcc trunk?
                Jack

2011-05-05  Jack Howarth <howarth@bromo.med.uc.edu>

	* gcc/varpool.c (varpool_extra_name_alias): Likewise.

Index: gcc/varpool.c
===================================================================
--- gcc/varpool.c	(revision 173423)
+++ gcc/varpool.c	(working copy)
@@ -676,7 +676,7 @@ varpool_extra_name_alias (tree alias, tr
 
 #ifndef ASM_OUTPUT_DEF
   /* If aliases aren't supported by the assembler, fail.  */
-  return false;
+  return NULL;
 #endif
 
   gcc_assert (TREE_CODE (decl) == VAR_DECL);

----- End forwarded message -----

             reply	other threads:[~2011-06-03 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 16:25 Jack Howarth [this message]
2011-06-03 19:22 ` Mike Stump

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110603162525.GA4371@bromo.med.uc.edu \
    --to=howarth@bromo.med.uc.edu \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).