r235766 incomplete?
Martin Sebor
msebor@gmail.com
Mon May 2 17:50:00 GMT 2016
Hi Jan,
I just noticed the compilation errors in the attached file with
the latest trunk. It seems as though your recent patch below may
be incomplete:
commit 46e5dccc6f188bd0fd5af4e9778f547ab63c9cae
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon May 2 16:55:56 2016 +0000
The following change causes compilation errors due to
ipa_find_agg_cst_for_param taking just three arguments, while it
is being called with four. (I haven't looked into the other error.)
Regards
Martin
--- a/gcc/ipa-inline-analysis.c
+++ b/gcc/ipa-inline-analysis.c
@@ -850,7 +850,8 @@ evaluate_conditions_for_known_args (struct
cgraph_node *node
,
if (known_aggs.exists ())
{
agg = known_aggs[c->operand_num];
- val = ipa_find_agg_cst_for_param (agg, c->offset, c->by_ref);
+ val = ipa_find_agg_cst_for_param (agg,
known_vals[c->operand_num],
+ c->offset, c->by_ref);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: text/x-log
Size: 1133 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20160502/22309b41/attachment.bin>
More information about the Gcc
mailing list