From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6336 invoked by alias); 12 Jun 2006 21:57:44 -0000 Received: (qmail 6317 invoked by uid 48); 12 Jun 2006 21:57:38 -0000 Date: Mon, 12 Jun 2006 22:04:00 -0000 Message-ID: <20060612215738.6316.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27980] Wrong allocation for zero-sized function result In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tkoenig at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg01211.txt.bz2 List-Id: ------- Comment #1 from tkoenig at gcc dot gnu dot org 2006-06-12 21:57 ------- Created an attachment (id=11657) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11657&action=view) patch Here's a patch (regression-tested). I'm not 100% sure this is the most elegant method, though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27980