From: forrest@nobozo.CS.Berkeley.EDU (Jon Forrest)
Subject: Short Program That Crashes CC (OSF 2.1 and OSF 3.0)
Date: 25 Jan 1995 23:04:26 GMT [thread overview]
Message-ID: <3g6ldq$gav@agate.berkeley.edu> (raw)
Consider the following program fragment:
extern char *foo(char *);
void main()
{
char *siteName[128] = foo("HELLO");
}
Compiling it on both OSF 2.1 and OSF 3.0 results in the following:
% cc -c j.c
Assertion failed: (((((ty)->tree_common).code) == Struct_type) || ((((ty)->tree_common).code) == Longdouble_type && (bit_size[Target_LongDouble] == 128))), file ../../../../../../src/usr/ccs/bin/cfe/expr_cg.c, line 5270
Fatal error in: /usr/lib/cmplrs/cc/cfe IOT/Abort trap
Maybe somebody could try it on a field test version of OSF 3.2.
--
Anything you read here is my opinion and in no way represents the Univ. of Cal.
Jon Forrest WB6EDM forrest@cs.berkeley.edu 510-643-6764
377 Soda Hall, Univ. of Cal., Berkeley, CA. 94720-1776
next reply other threads:[~1995-01-25 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-25 23:04 Jon Forrest [this message]
1995-01-26 18:33 ` Short Program That Crashes CC (OSF 2.1 and OSF 3.0) Dennis Murphy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox