Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/compile: inline marker targets not reachable after assembly on ppc64x [1.15 backport] #40767

gopherbot opened this issue Aug 13, 2020 · 3 comments


Copy link

@gopherbot gopherbot commented Aug 13, 2020

@ianlancetaylor requested issue #40689 to be considered for backport to the next 1.15 minor release.

@gopherbot Please backport to 1.14 and 1.15

This bug can cause tracebacks to hang. There is no workaround.

Copy link

@gopherbot gopherbot commented Aug 13, 2020

Change mentions this issue: cmd/internal/obj/ppc64: don't remove NOP in assembler

@dmitshur dmitshur modified the milestones: Go1.15.1, Go1.15.2 Sep 1, 2020
Copy link

@dmitshur dmitshur commented Sep 2, 2020

Approving per discussion in a release meeting. This backport applies to both 1.15 (this issue) and 1.14 (#40766).

Copy link

@gopherbot gopherbot commented Sep 3, 2020

Closed by merging a5fb3b1 to release-branch.go1.15.

@gopherbot gopherbot closed this Sep 3, 2020
gopherbot pushed a commit that referenced this issue Sep 3, 2020

Previously, the assembler removed NOPs from the Prog list in
obj9.go. NOPs shouldn't be removed if they were added as
an inline mark, as described in the issue below.

Fixes #40767

Once the NOPs were left in the Prog list, some instructions
were flagged as invalid because they had an operand which was
not represented in optab. In order to preserve the previous
assembler behavior, entries were added to optab for those
operand cases. They were not flagged as errors before because
the NOP instructions were removed before the code to check the
valid opcode/operand combinations.

Change-Id: Iae5145f94459027cf458e914d7c5d6089807ccf8
Run-TryBot: Lynn Boger <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Paul Murphy <>
Reviewed-by: Michael Munday <>
Reviewed-by: Keith Randall <>
(cherry picked from commit 7d7bd5a)
Run-TryBot: Dmitri Shuralyov <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.