This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Request to merge Undefined Behavior Sanitizer in (take 2)


On 08/15/2013 07:04 AM, Marek Polacek wrote:
if any of the operands is wrapped in SAVE_EXPR, we get an
-Wuninitialized warning.  So, what I did is to evaluate
the op0 always in the condition, like "if (op0, <cond>)",
which is safe and all the uninitialized warnings are gone,

That sounds fine.

now the bootstrap with -fsanitize=undefined finally finishes.
(albeit with
Bootstrap comparison failure!

That's not so fine.  :)

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]