Closed Bug 956161 Opened 6 years ago Closed 6 years ago

js/src/jit/AsmJS.cpp: [-Wuninitialized] 'floatCallee' may be used uninitialized in this function

Categories

(Core :: JavaScript Engine: JIT, defect, minor)

All
Android
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This warning is Firefox for Android's last -Wuninitialized warning! :) Most of gcc's false positives are now reported as -Wmaybe-uninitialied warnings.

However, this warning is actually a false positive. gcc can't figure out the variable is initialized even though the switch statement handles every AsmJSMathBuiltin enum value.
Attachment #8355359 - Flags: review?(luke)
Attachment #8355359 - Flags: review?(luke) → review+
https://hg.mozilla.org/mozilla-central/rev/41609fc34dac
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.