From: Pat Haugen <pthaugen@linux.vnet.ibm.com>
To: gcc-patches@gcc.gnu.org
Cc: David Edelsohn <dje.gcc@gmail.com>, Alan Modra <amodra@gmail.com>
Subject: Re: [PATCH, rs6000 committed] Fix PowerPC bootstrap
Date: Fri, 15 Apr 2011 21:49:00 -0000 [thread overview]
Message-ID: <4DA8B08B.4020900@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110413012232.GD19947@bubble.grove.modra.org>
On 04/12/2011 08:22 PM, Alan Modra wrote:
> On Tue, Apr 12, 2011 at 04:00:45PM -0500, Pat Haugen wrote:
>> > --- gcc/config/rs6000/rs6000.c (revision 172327)
>> > +++ gcc/config/rs6000/rs6000.c (working copy)
>> > @@ -7976,7 +7976,7 @@ call_ABI_of_interest (tree fndecl)
>> > return true;
>> >
>> > /* Interesting functions that we are emitting in this object file. */
>> > - c_node = cgraph_node (fndecl);
>> > + c_node = cgraph_get_create_node (fndecl);
>> > return !cgraph_only_called_directly_p (c_node);
>> > }
>> > return false;
> I think we should use cgraph_get_node here.
OK, fixed with following.
2011-04-15 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/rs6000.c (call_ABI_of_interest): Call
cgraph_get_node instead of cgraph_get_create_node.
Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c (revision 172498)
+++ gcc/config/rs6000/rs6000.c (working copy)
@@ -7976,7 +7976,7 @@ call_ABI_of_interest (tree fndecl)
return true;
/* Interesting functions that we are emitting in this object file. */
- c_node = cgraph_get_create_node (fndecl);
+ c_node = cgraph_get_node (fndecl);
return !cgraph_only_called_directly_p (c_node);
}
return false;
prev parent reply other threads:[~2011-04-15 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 21:00 Pat Haugen
2011-04-13 1:22 ` Alan Modra
2011-04-15 21:49 ` Pat Haugen [this message]
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=4DA8B08B.4020900@linux.vnet.ibm.com \
--to=pthaugen@linux.vnet.ibm.com \
--cc=amodra@gmail.com \
--cc=dje.gcc@gmail.com \
--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).