From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9479ab5b9a099a61 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Request: Could anybody knowing more about the Ada type system ... References: <5llkrjn43w.fsf@hod.lan.m-e-leypold.de> <5mhd27n42w.fsf@hod.lan.m-e-leypold.de> From: M E Leypold Date: 28 Jun 2006 01:25:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.243.222 X-Trace: news.arcor-ip.de 1151450329 88.72.243.222 (28 Jun 2006 01:18:49 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!morpheus.pingos.org!news.szaf.org!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:5151 Date: 2006-06-28T01:25:03+02:00 List-Id: "Jeffrey R. Carter" writes: > M E Leypold wrote: > > Request: Could anybody knowing more about the Ada type system state > > that this is indeed a bug in gcc 4.1.1 or did some subtle point change > > here between Ada 95 and Ada 2005? > > This kind of error existed in earlier versions of GNAT. I've sometimes used > > when [values not in subtype] => > raise Program_Error; > > to work around the error. If you remember: 3.15p didn't have the bug? And it comes back in 4.1.1? Wow. Regards (and thanks) -- Markus