> After 8339120, gcc began catching many different instances of unused code in > the Windows specific codebase. Some of these seem to be bugs. I've taken the > effort to mark out all the relevant globals and locals that trigger the > unused warnings and addressed all of them by commenting out the code as > appropriate. I am confident that in many cases this simplistic approach of > commenting out code does not fix the underlying issue, and the warning > actually found a bug that should be fixed. In these instances, I will be > aiming to fix these bugs with help from reviewers, so I recommend anyone > reviewing who knows more about the code than I do to see whether there is > indeed a bug that needs fixing in a different way than what I did
Julian Waters has updated the pull request incrementally with one additional commit since the last revision: Remove the got local ------------- Changes: - all: https://git.openjdk.org/jdk/pull/21654/files - new: https://git.openjdk.org/jdk/pull/21654/files/d2557517..6c74ac76 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=21654&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21654&range=00-01 Stats: 12 lines in 1 file changed: 5 ins; 2 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/21654.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21654/head:pull/21654 PR: https://git.openjdk.org/jdk/pull/21654