Re: [sv-bc] In-line variable initialization

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Fri Apr 21 2006 - 22:40:04 PDT
The requirement was removed by SV-EC 

     http://www.eda.org/sv/Changes_draft1/LRM_Changes_5.html

 
http://www.eda.org/sv-ec/Minutes/SV-EC-Minutes-2003-September-29.txt

     http://www.eda.org/sv-ec/Errata/ERR_10_to_19.html#ERR_17

-- Brad

-----Original Message-----
From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
Steven Sharp
Sent: Friday, April 21, 2006 5:41 PM
To: sharp@cadence.com; sv-bc@eda.org; shalom.bresticker@intel.com
Subject: RE: [sv-bc] In-line variable initialization


>6.6. says, "Data declared in a static task, function, or block default
>to a static lifetime and a local scope."
>
>I don't see anywhere in the LRM a hint that there is a difference in
>this between a declaration with and without an initializer.

Sigh.  Looks like you are right.  The requirement for an explicit
"static"
with a static variable initializer was removed in one of the SV3.1a
changes.  I expect a lot of confused users, wondering why that
assignment
was not executed when the block was entered.

Steven Sharp
sharp@cadence.com
Received on Fri Apr 21 22:40:10 2006

This archive was generated by hypermail 2.1.8 : Fri Apr 21 2006 - 22:40:25 PDT