Closed
Bug 995654
Opened 10 years ago
Closed 10 years ago
Suppress gcc -Wuninitialized warning in third-party code: libvorbis
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
681 bytes,
patch
|
derf
:
review+
|
Details | Diff | Splinter Review |
gcc reports one -Wuninitialized warning in libvorbis: media/libvorbis/lib/os.h:102:40: [-Wuninitialized] variable 'temp' is uninitialized when used here IIUC, this is a false positive because gcc is confused when taking the address of temp in this __asm__ block: https://hg.mozilla.org/mozilla-central/annotate/ebdf2740dc3e/media/libvorbis/lib/os.h#l102
Attachment #8405791 -
Flags: review?(tterribe)
Comment 1•10 years ago
|
||
Comment on attachment 8405791 [details] [diff] [review] suppress-Wuninitialized-warnings.patch Review of attachment 8405791 [details] [diff] [review]: ----------------------------------------------------------------- I think changing the constraint to "=m" instead of "m" (and moving it to the outputs list) would also fix the problem, but this approach is fine with me.
Attachment #8405791 -
Flags: review?(tterribe) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b56027688b72
status-firefox30:
--- → wontfix
status-firefox31:
--- → fixed
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b56027688b72
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•