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

Conference turris::decc_bugs

Title:DEC C Problem Reporting Forum
Notice:Report DEC C++ problems in TURRIS::C_PLUS_PLUS
Moderator:CXXC::REPETETCHEON
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1299
Total number of notes:6249

1260.0. "%VCG-F-BUGCHECK, DEC C V5.5-002, jamgram.c" by XDELTA::HOFFMAN (Steve, OpenVMS Engineering) Mon Feb 10 1997 18:28

Return-Path: "VMS001::WWW"@vms001.das-x.dec.com
Received: by vmsmkt.zko.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
        Fri, 24 Jan 1997 19:35:48 -0500
Received: from vms001 by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV)
        id TAA05576; Fri, 24 Jan 1997 19:25:47 -0500 (EST)
Date: Fri, 24 Jan 1997 19:25:45 -0500
Message-Id: <[email protected]>
From: "VMS001::WWW"@vms001.das-x.dec.com (24-Jan-1997 1925)
To: [email protected], [email protected], [email protected]
Subject: Ask the Wizard: '[email protected]'
X-VMS-To: [email protected]

Remote Host: axp616.gsi.de
Browser Type: Mozilla/2.02 (X11; I; DEC 3000 Model 300 )
Remote Info: <null>
Name: Martin Zinser
Email Address: [email protected]
CPU Architecture: VAX
Version: v 6.2
Questions:

Hello!

 Simple compilation of a certain C source file fails
 on the VAX (OpenVMS 6.2, DEC C 5.3-006), while it
 succeedes on an Alpha (OpenVMS 6.1-1H3, DEC C V5.5-002).
 It is not an obvious problem of different compilation
 paths, caused by __ALPHA or VAX preprocessor directives.
 The error message is
%VCG-F-BUGCHECK, Compiler bug check during middle end phase.
 In case someone is interested the code can be found in
 http://axp616.gsi.de:8080/wwwar/util/jam/jamp.zip
 Use @compile to build
 The module in question is jamgram.c

                                Have a nice weekend, Martin


T.RTitleUserPersonal
Name
DateLines
1260.1copied the sourcesMUCTEC::BECKERHartmut B., VMS &amp; Languages, MunichTue Feb 11 1997 08:048
Because decus.decus.de and gsi.de is around the corner I pulled over the
files and tried them out. The source in question is generated by a yacc
utility, it includes some header files. A listing can be generated, it
gives no clue where the problem is. I also run the preprocessor step prior
to the compiler, no change. If it wasn't already copied over the net I can
supply the sources and include files or the preprocessed .i file.

Hartmut
1260.2Try adding a #pragma module directiveDECC::VMCCUTCHEONTue Feb 11 1997 13:3014
Hi,

This is a bug which is fixed in our development stream.
The compiler is getting messed up because it is trying
to use the file name derived from he #line directives
for naming the object file.  This bug was introduced
as a result of some preprocessor changes in V5.2.

There seems to be a simple workaround.  Try adding
a #pragma module directive to the top of the file.

--val

p.s. this is that same problem as decc_bugs 1196