Add change note

This commit is contained in:
Owen Mansel-Chan
2022-12-06 16:25:50 +00:00
parent d588ee375b
commit 4789431d6e

View File

@@ -0,0 +1,8 @@
---
category: minorAnalysis
---
The definition of `mayHaveSideEffects` for `ReturnStmt` was incorrect when more
than one expression was being returned. Such return statements were
effectively considered to never have side effects. This has now been fixed.
In rare circumstances `globalValueNumber` may have incorrectly treated two
values as the same when they were in fact distinct.