summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-01-27 10:04:38 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-02 11:39:44 -0500
commit0ada454703560b733fe3c920b87496ac1238c29e (patch)
tree8839becbea6a22c4f623de90c6cde4be3616db1d /m4
parent1ffe770c8d8c5c42edcf1558242f39431f72b965 (diff)
downloadhaskell-0ada454703560b733fe3c920b87496ac1238c29e.tar.gz
Disable unfolding sharing for interface files with core definitions
Ticket #22807 pointed out that the RHS sharing was not compatible with -fignore-interface-pragmas because the flag would remove unfoldings from identifiers before the `extra-decls` field was populated. For the 9.6 timescale the only solution is to disable this sharing, which will make interface files bigger but this is acceptable for the first release of `-fwrite-if-simplified-core`. For 9.8 it would be good to fix this by implementing #20056 due to the large number of other bugs that would fix. I also improved the error message in tc_iface_binding to avoid the "no match in record selector" error but it should never happen now as the entire sharing logic is disabled. Also added the currently broken test for #22807 which could be fixed by !6080 Fixes #22807
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions