From 67409af38d12ef979ef7b78430e0a74e726c06be Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 19 Jul 2012 22:26:15 -0400 Subject: [PATCH] Fix valgrind uninitialized bits. --- src/V3Ast.h | 2 +- test_regress/t/t_cover_toggle.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3Ast.h b/src/V3Ast.h index 300993497..72a22d058 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -548,7 +548,7 @@ struct VNumRange { return false; } // - VNumRange() : m_msb(0), m_lsb(0), m_ranged(false), m_littleEndian(false) {} + VNumRange() : m_msb(0), m_lsb(0), mu_flags(0) {} ~VNumRange() {} // MEMBERS void init(int msb, int lsb, bool littleEndian) { diff --git a/test_regress/t/t_cover_toggle.pl b/test_regress/t/t_cover_toggle.pl index e7255ceaa..d1e3e68fe 100755 --- a/test_regress/t/t_cover_toggle.pl +++ b/test_regress/t/t_cover_toggle.pl @@ -18,7 +18,7 @@ execute ( # Read the input .v file and do any CHECK_COVER requests inline_checks(); -file_grep ($Self->{stats}, qr/Coverage, Toggle points joined\s+(\d+)/i, 23) +file_grep ($Self->{stats}, qr/Coverage, Toggle points joined\s+(\d+)/i, 24) if $Self->{vlt}; ok(1);