)]}'
{
  "commit": "94cc44a9e51eabd67282b1691f882c31436df2c4",
  "tree": "54110511337eefdcad8a009d6ae2824f8e503093",
  "parents": [
    "7b95a50858502485b0e159a1adabfa9912214147"
  ],
  "author": {
    "name": "Chen Gang",
    "email": "gang.chen.5i5j@gmail.com",
    "time": "Fri Oct 24 12:19:12 2014 +0100"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Fri Oct 24 12:19:12 2014 +0100"
  },
  "message": "disas/libvixl/a64/instructions-a64.h: Remove unused constants\n\nThe instructions-a64.h header defines a number of floating point\nconstants whose initializers are function calls. gcc 5 will warn\nif these constants are not used by the C or C++ file which includes\nthe header, because they imply a runtime cost. Since for the files\nQEMU uses from libvixl we don\u0027t use these constants at all, just\nremove them.\n\nUpstream intend to fix these by shifting to an \u0027extern const\u0027 in\nthe header plus definition in a suitable source file, so we can\ndrop this patch when we sync with the upcoming libvixl 1.7.\n\nThe related compiling error:\n\n    CXX   disas/arm-a64.o\n  In file included from /upstream/qemu/disas/libvixl/a64/disasm-a64.h:32:0,\n                   from disas/arm-a64.cc:20:\n  disas/libvixl/a64/instructions-a64.h:98:13: error: \u0027vixl::kFP32PositiveInfinity\u0027 defined but not used [-Werror\u003dunused-variable]\n   const float kFP32PositiveInfinity \u003d rawbits_to_float(0x7f800000);\n               ^\n  disas/libvixl/a64/instructions-a64.h:99:13: error: \u0027vixl::kFP32NegativeInfinity\u0027 defined but not used [-Werror\u003dunused-variable]\n   const float kFP32NegativeInfinity \u003d rawbits_to_float(0xff800000);\n               ^\n  disas/libvixl/a64/instructions-a64.h:100:14: error: \u0027vixl::kFP64PositiveInfinity\u0027 defined but not used [-Werror\u003dunused-variable]\n   const double kFP64PositiveInfinity \u003d\n                ^\n  disas/libvixl/a64/instructions-a64.h:102:14: error: \u0027vixl::kFP64NegativeInfinity\u0027 defined but not used [-Werror\u003dunused-variable]\n   const double kFP64NegativeInfinity \u003d\n                ^\n  disas/libvixl/a64/instructions-a64.h:107:21: error: \u0027vixl::kFP64SignallingNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const double kFP64SignallingNaN \u003d\n                       ^\n  disas/libvixl/a64/instructions-a64.h:109:20: error: \u0027vixl::kFP32SignallingNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const float kFP32SignallingNaN \u003d rawbits_to_float(0x7f800001);\n                      ^\n  disas/libvixl/a64/instructions-a64.h:112:21: error: \u0027vixl::kFP64QuietNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const double kFP64QuietNaN \u003d\n                       ^\n  disas/libvixl/a64/instructions-a64.h:114:20: error: \u0027vixl::kFP32QuietNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const float kFP32QuietNaN \u003d rawbits_to_float(0x7fc00001);\n                      ^\n  disas/libvixl/a64/instructions-a64.h:117:21: error: \u0027vixl::kFP64DefaultNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const double kFP64DefaultNaN \u003d\n                       ^\n  disas/libvixl/a64/instructions-a64.h:119:20: error: \u0027vixl::kFP32DefaultNaN\u0027 defined but not used [-Werror\u003dunused-variable]\n   static const float kFP32DefaultNaN \u003d rawbits_to_float(0x7fc00000);\n                      ^\n  cc1plus: all warnings being treated as errors\n  make: *** [disas/arm-a64.o] Error 1\n\nSigned-off-by: Chen Gang \u003cgang.chen.5i5j@gmail.com\u003e\n[PMM: Rewrote the commit message a little]\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38f079f967158063f5b6eeeb31acacba82b91bda",
      "old_mode": 33188,
      "old_path": "disas/libvixl/a64/instructions-a64.h",
      "new_id": "29f972291b117cad22b809cd41cebe345a8b3da8",
      "new_mode": 33188,
      "new_path": "disas/libvixl/a64/instructions-a64.h"
    }
  ]
}
