On 11/9/21 15:29, Thomas Schwinge wrote:
Hi!
On 2018-07-25T15:40:24+0200, Martin Liška wrote:
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -1256,6 +1256,8 @@ branch_prob (void)
/* Initialize the output. */
output_location (NULL, 0, NULL, NULL);
+ hash_set > seen_locations;
Hi!
On 2018-07-25T15:40:24+0200, Martin Liška wrote:
> --- a/gcc/profile.c
> +++ b/gcc/profile.c
> @@ -1256,6 +1256,8 @@ branch_prob (void)
>/* Initialize the output. */
>output_location (NULL, 0, NULL, NULL);
>
> + hash_set > seen_locations;
> +
>FOR_EACH_BB_FN (bb,
Hi.
It fixes couple of very similar issues. Currently we handle GOTO
expression, but it's not easy to find these in GIMPLE middle-end.
The patch fixes that.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
Will install in couple of days if no objection.
Martin
gcc/Chan