Fix the pattern for _hpc symbols: it incorrectly matched the _hp suffix too
[ghc-hetmet.git] / driver / mangler / ghc-asm.lprl
index 98e7a49..8912ddb 100644 (file)
@@ -725,7 +725,7 @@ sub mangle_asm {
            $chkcat[$i]  = 'data';
            $chksymb[$i] = '';
 
-        } elsif ( /^${T_US}([A-Za-z0-9_]+)_hpc?${T_POST_LBL}$/o ) {
+        } elsif ( /^${T_US}([A-Za-z0-9_]+)_hpc${T_POST_LBL}$/o ) {
            # hpc shares tick boxes across modules
            $chk[++$i]   = $_;
            $chkcat[$i]  = 'data';