VMS Help
CXX, Qualifiers, /ANSI_ALIAS

 *Conan The Librarian

       /ANSI_ALIAS
       /ANSI_ALIAS (D)
       /NOANSI_ALIAS

    Directs the compiler to assume the ANSI/ISO C aliasing rules,
    which gives it the freedom to generate better optimized code.

    /NOANSI_ALIAS specifies that any pointer can point to any object,
    regardless of type. /ANSI_ALIAS specifies that pointers to a type
    T can point to objects of the same type, ignoring type qualifiers
    such as const, unaligned, or volatile, or whether the object
    is signed or unsigned. Pointers to a type T can also point to
    structures, unions, or array members whose type follows the rules
    above.

    The aliasing rules are further explained in Section 3.3,
    paragraphs 20 and 25, of the ANSI C89 Standard (Section 6.3 of
    the ISO version, same paragraphs).
  Close     Help