From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19511 invoked by alias); 26 Mar 2008 21:10:26 -0000 Received: (qmail 18657 invoked by uid 48); 26 Mar 2008 21:09:39 -0000 Date: Wed, 26 Mar 2008 21:10:00 -0000 Message-ID: <20080326210939.18656.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35203] OPTIONAL, VALUE actual argument cannot be an INTEGER 0 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobi 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-03/txt/msg02104.txt.bz2 ------- Comment #10 from tobi at gcc dot gnu dot org 2008-03-26 21:09 ------- A lovely design by committee feature that is. An alternative implementation strategy would be to use the same calling convention as for pass-by-reference arguments and then copy on entry (if present, and as an optimization, only if it is indeed written to in the procedure body). -- tobi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tobi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35203