diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-05 00:06:26 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-03 00:55:01 +0000 |
commit | e38594f758d0e01db763724d73cae19c02d65ca0 (patch) | |
tree | 2f24b75b8b87ed126e14c7361a2835d67fd0c740 /src/systemc/dt/int/sc_unsigned.cc | |
parent | 1b3ff4d6a8a4ba10a4754ceb316712bab06bc0b2 (diff) | |
download | gem5-e38594f758d0e01db763724d73cae19c02d65ca0.tar.xz |
systemc: "Fix" some error message formatting.
These changes make the output match what Accellera outputs so that the
tests will pass.
Change-Id: I1260cec35fa39586fbef39047b9da4ff3c03b3ed
Reviewed-on: https://gem5-review.googlesource.com/c/12592
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/dt/int/sc_unsigned.cc')
-rw-r--r-- | src/systemc/dt/int/sc_unsigned.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/dt/int/sc_unsigned.cc b/src/systemc/dt/int/sc_unsigned.cc index aca49bac6..ffea95a68 100644 --- a/src/systemc/dt/int/sc_unsigned.cc +++ b/src/systemc/dt/int/sc_unsigned.cc @@ -140,7 +140,7 @@ sc_unsigned::invalid_range(int l, int r) const { std::stringstream msg; msg << "sc_biguint part selection: left = " << - l << ", right = " << r << "\n" + l << ", right = " << r << " \n" " violates either (" << (nbits - 2) << " >= left >= 0) or " "(" << (nbits-2) << " >= right >= 0)"; SC_REPORT_ERROR("(E5) out of bounds", msg.str().c_str()); |