On 24/05/2019 12:12, Andrew Stubbs wrote:
This patch fixes a 64-bit arithmetic bug in which the wrong instruction was used for the lo-part resulting in an incorrect calculation for the hi-part (signed vs. unsigned add). This causes a Memory Access Fault whenever the launcher happens to choose a problematic address for the stack allocation.

This problem never occurred on GCN3 because the launcher always chose addresses in the 32-bit range. It seems to happen more frequently on GCN5 devices since a recent ROCm update.

Now backported to gcc-9-branch.

Andrew

Reply via email to