From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,148120d854994a80,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-25 15:59:36 PST Path: pad-thai.cam.ov.com!bloom-beacon.mit.edu!spool.mu.edu!howland.reston.ans.net!agate!forrest From: forrest@nobozo.CS.Berkeley.EDU (Jon Forrest) Newsgroups: comp.unix.osf.osf1 Subject: Short Program That Crashes CC (OSF 2.1 and OSF 3.0) Date: 25 Jan 1995 23:04:26 GMT Organization: University of California, Berkeley Message-ID: <3g6ldq$gav@agate.berkeley.edu> NNTP-Posting-Host: nobozo.cs.berkeley.edu 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