mirror of git://gcc.gnu.org/git/gcc.git
* gen-pass-instances.awk: Remove GNUism.
From-SVN: r240904
This commit is contained in:
parent
676b4899d6
commit
772ebeb541
|
|
@ -1,7 +1,11 @@
|
||||||
|
2016-10-09 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
* gen-pass-instances.awk: Remove GNUism.
|
||||||
|
|
||||||
2016-10-09 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
2016-10-09 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
|
||||||
|
|
||||||
* ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to NULL of
|
* ipa-prop.c (ipcp_transform_function): Set fields m_vr and bits to
|
||||||
(*ipcp_transformations)][node->uid].
|
NULL of (*ipcp_transformations)][node->uid].
|
||||||
|
|
||||||
2016-10-09 John David Anglin <danglin@gcc.gnu.org>
|
2016-10-09 John David Anglin <danglin@gcc.gnu.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,6 @@ function replace_pass(line, fnname, num, i)
|
||||||
}
|
}
|
||||||
|
|
||||||
END {
|
END {
|
||||||
delete pass_counts;
|
|
||||||
for (i = 1; i < lineno; i++)
|
for (i = 1; i < lineno; i++)
|
||||||
{
|
{
|
||||||
ret = parse_line(lines[i], "NEXT_PASS");
|
ret = parse_line(lines[i], "NEXT_PASS");
|
||||||
|
|
@ -203,13 +202,13 @@ END {
|
||||||
pass_name = args[1];
|
pass_name = args[1];
|
||||||
with_arg = args[2];
|
with_arg = args[2];
|
||||||
|
|
||||||
# Set pass_counts
|
# Set pass_final_counts
|
||||||
if (pass_name in pass_counts)
|
if (pass_name in pass_final_counts)
|
||||||
pass_counts[pass_name]++;
|
pass_final_counts[pass_name]++;
|
||||||
else
|
else
|
||||||
pass_counts[pass_name] = 1;
|
pass_final_counts[pass_name] = 1;
|
||||||
|
|
||||||
pass_num = pass_counts[pass_name];
|
pass_num = pass_final_counts[pass_name];
|
||||||
|
|
||||||
# Print call expression with extra pass_num argument
|
# Print call expression with extra pass_num argument
|
||||||
printf "%s", prefix;
|
printf "%s", prefix;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue