[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

6.0. "KIT: DEC C for Digital UNIX Alpha" by TLE::ZEEB (Jeff Zeeb) Tue Jan 05 1993 14:59

T.RTitleUserPersonal
Name
DateLines
6.1Installing network kits of the GEM based DEC C on OSF/1.DECCXL::MARIOFri Nov 12 1993 15:1332
6.2Updated gemc_cc posted.DECCXL::MARIOMon Nov 15 1993 14:443
6.3OSF/1 BL8 DECC availableDECCXL::MARIOThu Nov 18 1993 17:242
6.4Updated gemc_cc and driver.DECCXL::MARIOMon Dec 06 1993 18:499
6.5Sterling pre-BL9 DEC C and driverDECCXL::MARIOTue Dec 21 1993 10:047
6.6Sterling DEC C and driverDECCXL::MARIOTue Jan 11 1994 17:3615
6.7Updated DEC C OSF/1 network kit.DECCXL::MARIOSun Jan 23 1994 22:1929
6.8DEC C X1.4-022 update.DECCXL::MARIOTue Jan 25 1994 10:5625
6.9DEC C T1.4-023 update available.DECCXL::MARIOMon Feb 28 1994 14:4953
6.10DEC C T1.4-024 update available.DECC::MARIOMon Apr 25 1994 18:1847
6.12DEC C V4.0-000 update availableDECCXL::ZEEBJeff ZeebThu May 19 1994 10:4514
6.13DEC C V4.0-001 update availableDECCXL::MARIOMon Jun 06 1994 11:5011
6.14Repackaging of DEC C in GOLD (V3.0)DECCXL::MARIOTue Jun 07 1994 12:2910
6.15DEC C V4.0-005 availableDECCXL::MARIOFri Jun 24 1994 20:0916
6.16DEC C V4.2-000 availableDECCXL::MARIOFri Sep 09 1994 16:4225
6.17DEC C X4.2-001 availableTLE::PHILLIPSThu Oct 20 1994 11:2123
6.18DEC C for Gold Minor BL4NOT2B::ZAHAREELinda D. ZahareeFri Nov 11 1994 09:3535
6.19DEC C OSF/1 update kit for V3.0 and V3.2 systemsDECCXL::MARIOThu Apr 06 1995 20:4443
6.20Updated V3.0 and V3.2 support kit.DECCXL::MARIOTue May 02 1995 15:3920
6.21DEC C V5.0-106 is available.DECC::MARIOThu Jun 22 1995 19:1388
6.22BL31 DEC C X5.2-117 is availableDECCXL::MARIOMon Nov 13 1995 18:07262
6.23builtins.h for DEC C UNIXDECCXL::MARIOWed Nov 15 1995 13:2112
6.24anonymous ftp availableDECCXL::MARIOWed Nov 15 1995 14:3430
6.25BL31 DEC C X5.2-120 is availableNOT2B::ZAHAREELinda D. ZahareeThu Dec 21 1995 10:37267
6.26BL31 DEC C V5.2-122 is availableDECC::ZAHAREELinda D. ZahareeTue Feb 06 1996 09:51297
6.27DEC C V5.2-127 is availableDECC::SULLIVANJeff SullivanTue Jul 09 1996 14:19309
6.28DEC C V5.2-130 is available for pre-Platinum systemsDECC::SULLIVANJeff SullivanFri Aug 09 1996 16:06311
6.29DEC C V5.2-030 is available for Platinum systemsDECC::SULLIVANJeff SullivanFri Aug 09 1996 16:1065
6.30DEC C V5.2-033 (Digital UNIX V4.0b compiler) is available for Platinum systemsDECC::SULLIVANJeff SullivanTue Oct 01 1996 13:3894
6.31DEC C V5.2-035 (Platinum support compiler) is availableDECC::SULLIVANJeff SullivanMon Nov 25 1996 15:43107
6.32DEC C V5.2-036 (Platinum support compiler) is availableDECC::SULLIVANJeff SullivanMon Feb 10 1997 13:58113
This compiler fixes the problem reported in DECC 2084.
See the README included below for details.


README.V5.2-036:

This Platinum support compiler is DEC C V5.2-036

This version of the DEC C for UNIX compiler is designed for use on
Digital UNIX V4.0 systems. For earlier versions of UNIX, you should
use the latest "Pre-Platinum" compiler, version V5.2-1nn.

It is available for download at:

  Copy via web browser (Netscape 2.x or later recommended) at

    http://www.zk3.dec.com/decc/decc-kitinfo.html

  or copy via decnet from

    labrea::/usr/misc/pub/ftp/pub/C/aosf/platinum/gemc_cc.V5.2-036.Z.tar

  or copy via anonymous ftp from labrea

    % ftp labrea.zko.dec.com
    Name (labrea.zko.dec.com:username): anonymous
    331 Guest login ok, send ident as password.
    Password: <enter your internet address>
    ftp> binary
    ftp> cd /pub/C/aosf/platinum
    ftp> get gemc_cc.V5.2-036.Z.tar
    ftp> quit


To unpack and install:

    % tar xvf gemc_cc.V5.2-036.Z.tar
    blocksize = 256
    x gemc_cc.V5.2-036.Z, ..... bytes, .... tape blocks
    % uncompress gemc_cc.V5.2-036.Z    
    % gemc_cc.V5.2-036 -V
    DEC C V5.2-036 on Digital UNIX V4.0 (Rev. 386)
    % rm gemc_cc.V5.2-036.Z.tar

    % su
    # mv /usr/lib/cmplrs/cc/gemc_cc /usr/lib/cmplrs/cc/gemc_cc.orig
    # mv gemc_cc.V5.2-036 /usr/lib/cmplrs/cc/gemc_cc

	
These additional OSF_QARs are fixed in the Digital UNIX V4.0 support
compiler, but not in the DEC C on Digital UNIX V4.0 (DEC C V5.2-023).

For further information on these OSF_QARs, see the OSF_QAR database
on GORGE or use Web/QAR at http://webster.zk3.dec.com/webqar


  46728   DECC        H    AN     7-JUN-1996  PLA11375  QAR_INTERNAL
  Fatal DEC C crash with EDG generated (varargs) code

  47664   DECC        M    AK    25-JUL-1996  PLA12386  QAR_INTERNAL
  Platinum DECC preprocessor evaluating constant before macro expansion

  45667   DECC        H    CL    16-APR-1996  PLA11375  DUSTIN
  CXXC_BUGS 3439: GEM struct functions smash Ucode local variables


Fixed in DEC C V5.2-031 and later:


  CLD HPAQ76CC9  - Thousands of #line directives cause compiler hang
  Intermediate file produced by Insight causes Platinum compiler (DEC C
  V5.2-023) to "hang". The problem was that the file contained many 
  thousands of #line drirectives, which caused the compiler to allocate
  and traverse megabytes of memory. The compiler was not actually "hung",
  but it was doing unnecessary work. We expect this problem to be fixed
  in the DEC C compiler included with the Digital UNIX V4.0b release.


Fixed in DEC C V5.2-032 and later:


  48122   DECC        H    OP    14-AUG-1996  PLA12386  QAR_INTERNAL
  "long double" data type appears to still not be implemented

  This fix was submitted into the Digital UNIX V4.0b release.
  DECC now warns that long double isn't supported, as does ACC.


Fixed in DEC C V5.2-035 and later:

  49944   DECC        S    OP    25-NOV-1996  PTA04464  QAR_INTERNAL
  do/switch statement gives wrong results in DEC C, but good with -oldc

  47119   DECC        M    AN    27-JUN-1996  PLA11375  QAR_INTERNAL
  cc: Fatal: a memory access violation due to asm("call_pal imb")

  + Fix for DECC 1690 (char loop control variables behave badly)
  + Fix for GEM_BUGS 5181 (don't pass arg count on UNIX)
  + Don't emit long double diagnostic if -Wf,-real16 is specified


Fixed in DEC C V5.2-036 and later:

  51448   DECC        S    OP    10-FEB-1997  PLA12386  SULLIVAN
  DEC C compiler crashes when compiling long tagnames with -g


DEC C V5.2-036 is the compiler submitted to the Digital UNIX V4.0
support pools.


Jeff Sullivan ([email protected])  Updated 10-Feb-97

6.32DEC C V5.2-036 (Platinum support compiler) is availableDECC::SULLIVANJeff SullivanWed Feb 12 1997 18:15110
This compiler fixes the problem reported in DECC 2084.
See the README included below for details.

README.V5.2-036:

This Platinum support compiler is DEC C V5.2-036

This version of the DEC C for UNIX compiler is designed for use on
Digital UNIX V4.0 systems. For earlier versions of UNIX, you should
use the latest "Pre-Platinum" compiler, version V5.2-1nn.

It is available for download at:

  Copy via web browser (Netscape 2.x or later recommended) at

    http://www.zk3.dec.com/decc/decc-kitinfo.html

  or copy via decnet from

    labrea::/usr/misc/pub/ftp/pub/C/aosf/platinum/gemc_cc.V5.2-036.tar.Z

  or copy via anonymous ftp from labrea

    % ftp labrea.zko.dec.com
    Name (labrea.zko.dec.com:username): anonymous
    331 Guest login ok, send ident as password.
    Password: <enter your internet address>
    ftp> binary
    ftp> cd /pub/C/aosf/platinum
    ftp> get gemc_cc.V5.2-036.tar.Z
    ftp> quit


To unpack and install:

    % zcat gemc_cc.V5.2-036.tar.Z | tar xvf -
    blocksize = ...
    x gemc_cc.V5.2-036, ..... bytes, .... tape blocks
    % gemc_cc.V5.2-036 -V
    DEC C V5.2-036 on Digital UNIX V4.0 (Rev. 386)
    % rm gemc_cc.V5.2-036.tar.Z

    % su
    # mv /usr/lib/cmplrs/cc/gemc_cc /usr/lib/cmplrs/cc/gemc_cc.orig
    # mv gemc_cc.V5.2-036 /usr/lib/cmplrs/cc/gemc_cc

	
These additional OSF_QARs are fixed in the Digital UNIX V4.0 support
compiler, but not in the DEC C on Digital UNIX V4.0 (DEC C V5.2-023).

For further information on these OSF_QARs, see the OSF_QAR database
on GORGE or use Web/QAR at http://webster.zk3.dec.com/webqar


  46728   DECC        H    AN     7-JUN-1996  PLA11375  QAR_INTERNAL
  Fatal DEC C crash with EDG generated (varargs) code

  47664   DECC        M    AK    25-JUL-1996  PLA12386  QAR_INTERNAL
  Platinum DECC preprocessor evaluating constant before macro expansion

  45667   DECC        H    CL    16-APR-1996  PLA11375  DUSTIN
  CXXC_BUGS 3439: GEM struct functions smash Ucode local variables


Fixed in DEC C V5.2-031 and later:


  CLD HPAQ76CC9  - Thousands of #line directives cause compiler hang
  Intermediate file produced by Insight causes Platinum compiler (DEC C
  V5.2-023) to "hang". The problem was that the file contained many 
  thousands of #line drirectives, which caused the compiler to allocate
  and traverse megabytes of memory. The compiler was not actually "hung",
  but it was doing unnecessary work. We expect this problem to be fixed
  in the DEC C compiler included with the Digital UNIX V4.0b release.


Fixed in DEC C V5.2-032 and later:


  48122   DECC        H    OP    14-AUG-1996  PLA12386  QAR_INTERNAL
  "long double" data type appears to still not be implemented

  This fix was submitted into the Digital UNIX V4.0b release.
  DECC now warns that long double isn't supported, as does ACC.


Fixed in DEC C V5.2-035 and later:

  49944   DECC        S    OP    25-NOV-1996  PTA04464  QAR_INTERNAL
  do/switch statement gives wrong results in DEC C, but good with -oldc

  47119   DECC        M    AN    27-JUN-1996  PLA11375  QAR_INTERNAL
  cc: Fatal: a memory access violation due to asm("call_pal imb")

  + Fix for DECC 1690 (char loop control variables behave badly)
  + Fix for GEM_BUGS 5181 (don't pass arg count on UNIX)
  + Don't emit long double diagnostic if -Wf,-real16 is specified


Fixed in DEC C V5.2-036 and later:

  51448   DECC        S    OP    10-FEB-1997  PLA12386  SULLIVAN
  DEC C compiler crashes when compiling long tagnames with -g


DEC C V5.2-036 is the compiler submitted to the Digital UNIX V4.0
support pools.


Jeff Sullivan ([email protected])  Updated 12-Feb-97
6.33DEC C V5.6-059 (PTmin Internal Field Test compiler) is availableDECC::SULLIVANJeff SullivanWed Apr 09 1997 14:31153
README.V5.6-059:
Last Updated 08-Apr-97

This kit contains the latest DEC C compiler for the Platinum.minor 
(Digital UNIX V4.0D, formerly PTC) release. The kit contains a new
DEC C (GEM BL33) compiler and a script that can be used to "protect"
header files when compiling with the -xtaso_short option. The
protect_headers_setup.sh script was previously available in the
DEC C++ and "cc.alt" kits.

Although the DECC in this kit is based on GEM BL33, while the default
V4.0* DECC is based on GEM BL31, this compiler is backward compatible
to any V4.0, V4.0a, or V4.0b system.

Included in this kit:

	README.V5.6-059
	gemc_cc.V5.6-059
	protect_headers_setup.sh



This version of the DEC C compiler suite contains two new features.

 The first is a new compiler switch described as:

    -assume whole_program
	Declares that extern variables declared in the current 
        compilation unit do not have the address-of operator 
        (&) applied outside of the current compilation unit.  
        This effectively means that access through a pointer cannot 
        reference most extern variables, so the compiler can perform 
        better optimizations.  This switch is commonly used when the 
        whole program is given to the compiler in a single 
        compilation using -ifo.

 The second feature is a header file protection script which can
 be used to "protect" header files when compiling with the 
 -xtaso_short option.  This script creates symbolic links to 
 special header prologue and epilogue files in all directories 
 in a directory tree that contain header files.  The default
 directory tree root is /usr/include, but other roots can be
 specified.

 The usage of the header file protection script is:

    /usr/ccs/lib/cmplrs/cc/protect_headers_setup.sh [-l|-d|-i] [dirname]

    If [dirname] specified, use that as the root, otherwise use 
    /usr/include as the root.

        -l      Link the protected header files
        -d      Deletes the protected header files
        -i      Inventories the directories where protected
                header files are installed


For more information on the PTmin release, see:
   http://www.zk3.dec.com/ptc/

The project plans for this compiler in PTmin are:
   http://www.zk3.dec.com/ptc/proj_plans/approved/decc_change
   http://www.zk3.dec.com/ptc/proj_plans/approved/decc_perf_update


The kit is available for download at:

  Copy via web browser (Netscape 2.x or later recommended) at

    http://www.zk3.dec.com/decc/decc-kitinfo.html

  or copy via decnet from

    labrea::/usr/misc/pub/ftp/pub/C/aosf/ptmin/

  or copy via anonymous ftp from labrea

    % ftp labrea.zko.dec.com
    Name (labrea.zko.dec.com:username): anonymous
    331 Guest login ok, send ident as password.
    Password: <enter your internet address>
    ftp> binary
    ftp> cd /pub/C/aosf/ptmin
    ftp> get decc_kit.V5.6-059.tar.Z
    ftp> quit

Unpack the tar file and install the components as described below.

    % uncompress decc_kit.V5.6-059.tar.Z
    % tar xvf decc_kit.V5.6-059.tar
    % su
    # mv /usr/lib/cmplrs/cc/gemc_cc /usr/lib/cmplrs/cc/gemc_cc.orig
    # mv gemc_cc.V5.6-059 /usr/lib/cmplrs/cc/gemc_cc
    #
    # chown bin.bin /usr/lib/cmplrs/cc/gemc_cc
    # chmod 555 /usr/lib/cmplrs/cc/gemc_cc
    #
    # mv protect_headers_setup.sh /usr/lib/cmplrs/cc
    # rm decc_kit.V5.6-059.tar


Fixes made in DEC C V5.6-057 into Digital UNIX V4.0D-5

  OSF_QAR:   51337
  Problem:   DEC C should reject this module when built -Wb,-static

  OSF_QAR:   51448
  Problem:   DEC C compiler crashes when compiling long tagnames with -g

  OSF_QAR:   51739
  Problem:   DEC C: TLS array causes bad code generation

  GEM_BUGS:  6015
  Problem:   Bad code generated with initialized TLS variables.
 


Fixes made in DEC C V5.6-058 into Digital UNIX V4.0D-6

  DECC_BUGS: 1271
  Problem:   cc problem on UNIX V4.0B (Article 20768 of comp.unix.osf.osf1)

     There was a problem in token-pasting the following example
     using DEC C in Digital UNIX V4.0B:

       #define SVAL(a,b) 0x ## a ## b
       SVAL(23a252f6,0bae4907)

     The compiler should expand the SVAL call to 0x23a252f60bae4907.
     It didn't because it didn't like the leftmost operand (0x is not
     a legitimate hex constant).  It shouldn't have cared.
     The compiler bug is fixed in this compiler.


Fixes made in DEC C V5.6-059 (Special)

  CXXC_BUGS: 4241
  Problem:   DEC C is generating larger .bss section than ACC for
             exception handling programs. We should not create
	     __exception_arg on UNIX.



We're looking for testing feedback.  If you try this out please
let us know, especially if you see any differences.

Thanks,
The DEC C for UNIX team.

Joe Mario       [email protected]
John Parks      [email protected]
Jeff Sullivan   [email protected]
Linda Zaharee   [email protected]