From 3cd928dbe067bfde5f4739503fe3fd3284275801 Mon Sep 17 00:00:00 2001 From: Cary R Date: Sat, 14 Aug 2010 09:18:07 -0700 Subject: [PATCH] Add another missing probe_expr_width() call. The indexed select width argument was missing a call to probe_expr_width() and was crashing the compiler. --- elab_expr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/elab_expr.cc b/elab_expr.cc index ef62edf37..f772f52c0 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -1915,6 +1915,7 @@ bool PEIdent::calculate_up_do_width_(Design*des, NetScope*scope, /* Calculate the width expression (in the lsb_ position) first. If the expression is not constant, error but guess 1 so we can keep going and find more errors. */ + probe_expr_width(des, scope, index_tail.lsb); need_constant_expr = true; NetExpr*wid_ex = elab_and_eval(des, scope, index_tail.lsb, -1); need_constant_expr = false;