From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22399 invoked by alias); 26 Nov 2008 17:51:08 -0000 Received: (qmail 21720 invoked by uid 48); 26 Nov 2008 17:49:47 -0000 Date: Wed, 26 Nov 2008 17:51:00 -0000 Message-ID: <20081126174947.21719.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/38205] Tranformational function SUM rejected in initialization expressions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikael at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg02296.txt.bz2 ------- Comment #6 from mikael at gcc dot gnu dot org 2008-11-26 17:49 ------- (In reply to comment #5) > Currently not simplified are: > - ALL/ANY/COUNT > - cshift/eoshift > - dot_product/matmul > - (max|min)(loc|val) - note: (max|min)val is implemented for rank == 1 w/o dim > - pack/unpack > - spread > - transpose > ... and sum. Ok, I missed that. That's much more work than expected. :-( Wouldn't there be so many gfc_simplify* in place, I would rather go for a wrapper to call libgfortran's functions at compile time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38205