Closed Bug 1366497 Opened 3 years ago Closed 3 years ago

Vector.h: fails to build with gcc 7 on -Werror=strict-aliasing

Categories

(Core :: MFBT, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1363009 +++
Assignee: nobody → sledru
Comment on attachment 8869735 [details]
Bug 1366497 - disable strict-aliasing for gcc in js/src/gdb & js/src/jsapi-tests

https://reviewboard.mozilla.org/r/141306/#review144878

I guess awfy will tell us if -fno-strict-aliasing is a bad idea. (Well, for the rest of js/src, at least; the two in this bug don't matter.)
Attachment #8869735 - Flags: review?(sphink) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bb159e2764f8
disable strict-aliasing for gcc in js/src/gdb & js/src/jsapi-tests r=sfink
https://hg.mozilla.org/mozilla-central/rev/bb159e2764f8
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.