From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18277 invoked by alias); 14 Dec 2004 14:56:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18149 invoked from network); 14 Dec 2004 14:56:33 -0000 Received: from unknown (HELO alwazn.tat.physik.uni-tuebingen.de) (134.2.170.157) by sourceware.org with SMTP; 14 Dec 2004 14:56:33 -0000 Received: by alwazn.tat.physik.uni-tuebingen.de (Postfix, from userid 30023) id A930B3FA1; Tue, 14 Dec 2004 15:56:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by alwazn.tat.physik.uni-tuebingen.de (Postfix) with ESMTP id A31C476988 for ; Tue, 14 Dec 2004 15:56:32 +0100 (CET) Date: Tue, 14 Dec 2004 14:56:00 -0000 From: Richard Guenther To: gcc@gcc.gnu.org Subject: Strange IV choices? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-12/txt/msg00505.txt.bz2 Hi! It seems that ivopts is confused by local copies of objects. Suppose you have some complex array managing class, the two functionally identical functions void arrayAssignManual(const Array<2, double, BrickViewU>& a, const Array<2, double, BrickViewU>& b, const Array<2, double, BrickViewU>& c, const Array<2, double, BrickViewU>& d, const Interval<2> &I) { int ie = I[0].length(); int je = I[1].length(); for (int j=0; j& a_, const Array<2, double, BrickViewU>& b_, const Array<2, double, BrickViewU>& c_, const Array<2, double, BrickViewU>& d_, const Interval<2> &I) { Array<2, double, BrickViewU> a(a_), b(b_), c(c_), d(d_); int ie = I[0].length(); int je = I[1].length(); for (int j=0; j WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/