Closed
Bug 483956
Opened 15 years ago
Closed 15 years ago
gcc 4.4 warnings about "may be undefined" operations
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wolfiR, Assigned: Waldo)
Details
(Keywords: fixed1.9.1, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
1.11 KB,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
jstracer.cpp: In function 'bool isPromoteInt(nanojit::LIns*)': jstracer.cpp:624: warning: operation on 'd' may be undefined jstracer.cpp: In function 'bool isPromoteUint(nanojit::LIns*)': jstracer.cpp:631: warning: operation on 'd' may be undefined
Reporter | ||
Comment 1•15 years ago
|
||
On a sidenote I'm a bit confused as jstracer.cpp is not compiled on x86-64 Linux apparently
Hardware: All → x86
Assignee | ||
Comment 2•15 years ago
|
||
Hm, this is pretty bad actually -- we're relying on spec-undefined left-then-right order of evaluation for ==. Presumably every compiler we've tested against is doing left-then-right, else we'd have had crashes in tests, but this is going to bite us eventually if we keep relying on it.
Assignee: general → jwalden+bmo
Status: NEW → ASSIGNED
Flags: wanted1.9.1?
OS: Linux → All
Hardware: x86 → All
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #368348 -
Flags: review?(gal)
Assignee | ||
Comment 4•15 years ago
|
||
jstracer.cpp isn't compiled on x86-64 because JIT isn't going to be supported in 64-bit builds for a little while; with no official 64-bit release and fairly few people running 64-bit OSes it didn't make sense to put special effort into 64-bit right now.
Updated•15 years ago
|
Attachment #368348 -
Flags: review?(gal) → review+
Assignee | ||
Comment 5•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/2b3812472561
Whiteboard: fixed-in-tracemonkey
Comment 6•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2b3812472561
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Flags: in-testsuite-
Comment 7•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/fe6ca1602c9d
Keywords: fixed1.9.1
Updated•15 years ago
|
Flags: wanted1.9.1? → wanted1.9.1+
You need to log in
before you can comment on or make changes to this bug.
Description
•