* cxx core dump
@ 1999-01-13 5:00 Ian Britten
1999-01-14 5:00 ` J�rn Jensen
0 siblings, 1 reply; 3+ messages in thread
From: Ian Britten @ 1999-01-13 5:00 UTC (permalink / raw)
Hi all,
[ First of all, please let me know if I'm in the wrong newsgroup, or if
there is a better place to mention this... ]
I've discovered a way to make my version of the cxx C++ compiler
consistently die when trying to compile a specific bit of code.
Where would I go to see if there is already a patch for this bug?
Here's the info:
% uname -a
OSF1 dilbert V4.0 878 alpha
% cxx -V
DIGITAL C++ V6.0-010 on DIGITAL UNIX V4.0 (Rev. 878)
Here's the code
int main(void)
{
bool flag = true;
bool result = (flag) ? true : true;
return 0;
}
Here's the output:
% cxx -c file.cxx
cxx: Fatal: A memory access violation (bus error or segmentation fault)
has occurred. Please submit a problem report.
Anyone have any info?
Ian
------------------------------------------------------------------------
|Ian Britten - Chief Programmer, britten@universal.ca, Ph (506)458-8533|
| Universal Systems Ltd., Fredericton N.B. Canada, www.universal.ca |
| #include <disclaimer.h> | I'm Micro$oft-free and proud of it |
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cxx core dump
1999-01-13 5:00 cxx core dump Ian Britten
@ 1999-01-14 5:00 ` J�rn Jensen
1999-01-20 5:00 ` Ken Block USG
0 siblings, 1 reply; 3+ messages in thread
From: J�rn Jensen @ 1999-01-14 5:00 UTC (permalink / raw)
Ian Britten <britten@universal.ca> writes:
[...]
> consistently die when trying to compile a specific bit of code.
> Where would I go to see if there is already a patch for this bug?
[...]
> Anyone have any info?
We've had a lot of compiler problems, but they have all been solved by
obtaining newer compilers. The compiler I use now is V6.1-029.
Besides that, you could/should try to install the latest patch-kit.
//jornj
--
Fast, Soon, Correct. Pick 2.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cxx core dump
1999-01-14 5:00 ` J�rn Jensen
@ 1999-01-20 5:00 ` Ken Block USG
0 siblings, 0 replies; 3+ messages in thread
From: Ken Block USG @ 1999-01-20 5:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 325 bytes --]
This is a know problem. The following is from the release notes for the
latest compiler.
=======================
The compiler no longer mishandles "?" operations on a boolean type in
constructs like that in the following example. [43-4-135]
bool f(int i)
{
return (i<5 ? false : true );
}
[-- Attachment #2: Card for Kenneth Block --]
[-- Type: text/x-vcard, Size: 336 bytes --]
begin: vcard
fn: Kenneth Block
n: Block;Kenneth
org: CTG C/C++ Compiler
adr: 110 Spit Brook Road;;M/S ZKO3-2/W02;Nashua;NH;03062;USA
email;internet: block@zk3.dec.com
tel;work: 603-884-2819
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-01-20 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-13 5:00 cxx core dump Ian Britten
1999-01-14 5:00 ` J�rn Jensen
1999-01-20 5:00 ` Ken Block USG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox