--* From postmaster%watson.vnet.ibm.com@yktvmv.watson.ibm.com  Wed Dec 22 06:39:53 1993
--* Received: from yktvmv.watson.ibm.com by leonardo.watson.ibm.com (AIX 3.2/UCB 5.64/4.03)
--*           id AA12815; Wed, 22 Dec 1993 06:39:53 -0500
--* X-External-Networks: yes
--* Received: from watson.vnet.ibm.com by yktvmv.watson.ibm.com (IBM VM SMTP V2R3)
--*    with BSMTP id 2547; Wed, 22 Dec 93 06:46:12 EST
--* Received: from YKTVMV by watson.vnet.ibm.com with "VAGENT.V1.0"
--*           id <A.SANTAS.NOTE.YKTVMV.7099.Dec.22.06:46:11.-0500>
--*           for asbugs@watson; Wed, 22 Dec 93 06:46:12 -0500
--* Received: from bernina.ethz.ch by watson.ibm.com (IBM VM SMTP V2R3) with TCP;
--*    Wed, 22 Dec 93 06:46:11 EST
--* Received: from neptune by bernina.ethz.ch with SMTP inbound id <20823-0@bernina.ethz.ch>; Wed, 22 Dec 1993 12:45:54 +0100
--* From: Philip Santas <santas@inf.ethz.ch>
--* Received: from rutishauser.inf.ethz.ch (rutishauser-gw.inf.ethz.ch) by neptune id AA29009; Wed, 22 Dec 93 12:45:48 +0100
--* Date: Wed, 22 Dec 93 12:45:46 +0100
--* Message-Id: <9312221145.AA22741@rutishauser.inf.ethz.ch>
--* Received: from vinci.inf.ethz.ch.rutishauser by rutishauser.inf.ethz.ch id AA22741; Wed, 22 Dec 93 12:45:46 +0100
--* To: asbugs@watson.ibm.com
--* Subject: Allocating arrays with -Qinline-all leads to segmentation faults
--* Cc: bronstei

--@ Fixed  by:  PAB   Thu Jan 27 15:06:30 EST 1994 
--@ Tested by:  opt0.as 
--@ Summary:    optimisation problems leading to losing of location of inlinee 


Version: A# version 33.0 for SPARC (debug version)
System: Sparc 10
Severity: major when optimizing
Problem:
  Allocating arrays with -Qinline-all leads to segmentation faults
  at compile time.

Error transcript:
  vinci.inf.ethz.ch241  Philip > asharp -Fx -Qall -Qinline-all ar.as
  (Error) Program fault (bus error).
  (Error) Program fault (segmentation violation).
  Segmentation fault

Code:

-------------ar.as------------------
#include "aslib.as"
import Boolean
import Array Boolean
import SingleInteger

x:Array Boolean := new (9, true);
------------------------------------

Philip

 
