From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26503 invoked by alias); 22 Feb 2002 22:16:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 26451 invoked by uid 71); 22 Feb 2002 22:16:01 -0000 Date: Fri, 22 Feb 2002 15:46:00 -0000 Message-ID: <20020222221601.26449.qmail@sources.redhat.com> To: ro@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Rainer Orth Subject: Re: target/5505: Doubts about a patch for OSF Reply-To: Rainer Orth X-SW-Source: 2002-02/txt/msg00578.txt.bz2 List-Id: The following reply was made to PR target/5505; it has been noted by GNATS. From: Rainer Orth To: Richard.Kreckel@Uni-Mainz.DE Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: target/5505: Doubts about a patch for OSF Date: Fri, 22 Feb 2002 23:13:42 +0100 (MET) Richard B. Kreckel writes: > Rainer, you probably know by now that this whole issue has nothing to do > at all with CLN? It seems like your patch breaks anything when using most likely, yes. > -fno-exceptions. Attached is a trial program that only uses doubles and Only in combination with -O2, it seems. > some STL containers. (Sorry for not boiling it down from 100 to 10 lines, > I have unfortunately very little time right now.) Please try to do so: my knowledge of C++ is close to zero, so a minimal testcase would help enormously. > Can you confirm this? Otherwise we are back with the theory that my boxen > are broken / patched wrongly... Not yet: I get a SEGV even if compiling without any special options: > g++ -o minor minor.cc > ./minor permanent of 6x6-matrix c==4Segmentation fault The crash happens in minor.c, l. 80: 80 Pkey[j] = Pkey[j-1]+1; j = 0 at this point, so Pkey[j-1] is out of bounds. The crash happens when compiling with Compaq cxx as well. Rainer