From f607b32938c6a732763c9e3685e27adac65a5d8b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 30 Nov 2012 06:57:36 -0500 Subject: [PATCH] Fix crash on dotted references into dead modules, bug583. --- Changes | 2 ++ src/V3LinkDot.cpp | 1 + test_regress/t/t_param_mem_attr.pl | 15 ++++++++++++ test_regress/t/t_param_mem_attr.v | 39 ++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100755 test_regress/t/t_param_mem_attr.pl create mode 100644 test_regress/t/t_param_mem_attr.v diff --git a/Changes b/Changes index bf384d337..0aad4db52 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix mis-optimized identical submodule subtract, bug581. [Charlie Brej] +**** Fix crash on dotted references into dead modules, bug583. [Jeremy Bennett] + **** Fix compile issues on MSVCC, bug571, bug577. [Amir Gonnen] **** Fix --debug overriding preceding --dump-treei, bug580. [Jeremy Bennett] diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index a1e6013a9..ab898c6af 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -1484,6 +1484,7 @@ private: } nodep->fromp()->iterateAndNext(*this); nodep->bitp()->iterateAndNext(*this); + nodep->attrp()->iterateAndNext(*this); } virtual void visit(AstBegin* nodep, AstNUser*) { UINFO(5," "<