Review Board 2.0.15


base: Do not dereference NULL in CompoundFlag creation

Review Request #2633 - Created Feb. 5, 2015 and submitted

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 10694:c953f9d91908
---------------------------
base: Do not dereference NULL in CompoundFlag creation

This patch fixes the CompoundFlag constructor, ensuring that it does
not dereference NULL. Doing so has undefined behaviuor, and both clang
and gcc's undefined-behaviour sanitiser was rather unhappy.

   
Review request changed
Updated (Feb. 11, 2015, 6:26 a.m.)

Status: Closed (submitted)