-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GCC11] Ignore used uninitialized warning in DTDigiSimLink #35114
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35114/25005
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
-1 Failed Tests: RelVals-INPUT RelVals-INPUT
Comparison SummarySummary:
|
Please test with #35121 |
hi @smuzaffar - do we understand exactly what reinterpret_cast does here (I don't..)? I think the intent was to reinterpret the two 16-bit unsigned ints as one 32-bit unsigned int. The examples I see suggest that instead the ChannelType* will point to ChannelPacking.wi. |
@davidlange6 , basically it is doing
I wanted to replace the whole function with the line above but it might be bit slower then the current implementation |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6e74ff/18247/summary.html Comparison SummarySummary:
|
+1 |
Looks like the GCC 11 warning
is false positive. ThisPR proposes to ignore the used uninitialized warning for this selected code.