gecko-dev/build/valgrind
Julian Seward babba9b13b Bug 1447405 - Valgrind cries at nsFrame::ComputeSize in stylo-only builds. r=emilio.
In nsFrame::ComputeSize and nsFrame::ComputeSizeWithIntrinsicDimensions, the
following expressions

  isFlexItem && usingFlexBasisForISize
  isFlexItem && !usingFlexBasisForISize

are sometimes compiled by recent gcc/clang in the opposite order, viz
[!]usingFlexBasisForISize && isFlexItem.  In this case the transformation is
correct as can be seen by analysing code earlier in these functions.
Unfortunately this causes Valgrind/Memcheck to report a branch on undefined
data which, in this case, is a false positive.

A simple fix is simply to initialise usingFlexBasisForISize to false at its
declaration point.

--HG--
extra : rebase_source : 39877e4ea8ec678288e6b49af120445c96ef8c0a
2018-03-13 07:37:25 +01:00
..
__init__.py
cross-architecture.sup Bug 1393230 - Part 3: Convert the xpcom string classes to be templated on char type. r=njn, r=fitzgen, r=sfink 2017-08-14 14:22:50 -07:00
i386-pc-linux-gnu.sup Bug 1432395 - Rename valgrind suppressions files to something more generic. r=froydnj 2018-01-27 10:22:56 +09:00
mach_commands.py Bug 1432395 - Rename valgrind suppressions files to something more generic. r=froydnj 2018-01-27 10:22:56 +09:00
output_handler.py Bug 1262331 - Fix mach valgrind-test logging. r=gps 2016-04-07 09:10:47 +09:00
x86_64-pc-linux-gnu.sup Bug 1447405 - Valgrind cries at nsFrame::ComputeSize in stylo-only builds. r=emilio. 2018-03-13 07:37:25 +01:00