Re: [sv-bc] Comments on 285 - initialization of unions

From: Steven Sharp <sharp@cadence.com>
Date: Tue Nov 23 2004 - 10:55:30 PST

>Regarding the comments from Mark and Surrendra via the email vote
>
>
>
>285 ___Yes _x_No
>http://www.eda.org/svdb/bug_view_page.php?bug_id=0000285
>I think this description applies to packed unions, but it is not
>clear how it applies to unpacked unions.
>
>
>
>
>
>I don't see why the proposal needs to address packed or unpacked unions
>specifically. An initialization behaves like an assignment, so the
>values of the other members of an unpacked union are undefined.

In fact, the erratum was mainly concerned with unpacked unions. Packed
unions could have been considered to be covered already by the default
initialization values for integral types, since a packed union is an
integral type.

Steven Sharp
sharp@cadence.com
Received on Tue Nov 23 10:55:35 2004

This archive was generated by hypermail 2.1.8 : Tue Nov 23 2004 - 10:55:49 PST