Subject: CVS commit: pkgsrc/doc
To: None <pkgsrc-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 05/25/2003 16:32:46
Module Name:	pkgsrc
Committed By:	grant
Date:		Sun May 25 16:32:46 UTC 2003

Modified Files:
	pkgsrc/doc: CHANGES

Log Message:
Updated gcc3 to 3.3.

Tested on NetBSD-current and Solaris 9.

Caveats

    * The preprocessor no longer accepts multi-line string literals.
      They were deprecated in 3.0, 3.1, and 3.2.
    * The preprocessor no longer supports the -A- switch when appearing
      alone. -A- followed by an assertion is still supported.
    * Support for all the systems obsoleted in GCC 3.1 has been removed
      from GCC 3.3.
    * Checking for null format arguments has been decoupled from the rest
      of the format checking mechanism. Programs which use the format
      attribute may regain this functionality by using the new nonnull
      function attribute. Note that all functions for which GCC has a
      built-in format attribute, an appropriate built-in nonnull attribute
      is also applied.
    * The DWARF (version 1) debugging format has been deprecated and will
      be removed in a future version of GCC. Version 2 of the DWARF
      debugging format will continue to be supported for the foreseeable
      future.
    * The C and Objective-C compilers no longer accept the "Naming Types"
      extension (typedef foo = bar); it was already unavailable in C++.
      Code which uses it will need to be changed to use the "typeof"
      extension instead: typedef typeof(bar) foo. (We have removed this
      extension without a period of deprecation because it has caused
      the compiler to crash since version 3.0 and no one noticed until
      very recently. Thus we conclude it is not in widespread use.)
    * The -traditional C compiler option has been removed. It was
      deprecated in 3.1 and 3.2. (Traditional preprocessing remains
      available.) The <varargs.h> header, used for writing variadic
      functions in traditional C, still exists but will produce an error
      message if used.

New Targets and Target Specific Improvements [trimmed for length and
relevance to NetBSD]

    * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted
      to use the DFA processor pipeline description.
    * The following NetBSD configurations for the SuperH processor family
      have been added:
          o SH3, big-endian, sh-*-netbsdelf*
          o SH3, little-endian, shle-*-netbsdelf*
          o SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
          o SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
          o SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
          o SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
    * The following changes have been made to the IA-32/x86-64 port:
          o SSE2 and 3dNOW! intrinsics are now supported.
          o Support for thread local storage has been added to the IA-32
            and x86-64 ports.
          o The x86-64 port has been significantly improved.

The full list of changes can be found at:

	http://gcc.gnu.org/gcc-3.3/changes.html


To generate a diff of this commit:
cvs rdiff -r1.2323 -r1.2324 pkgsrc/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.