From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17408 invoked by alias); 5 May 2009 04:18:39 -0000 Received: (qmail 17374 invoked by uid 48); 5 May 2009 04:18:26 -0000 Date: Tue, 05 May 2009 04:18:00 -0000 Message-ID: <20090505041826.17373.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/40011] Problems with -fwhole-file In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jv244 at cam dot ac dot uk" 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: 2009-05/txt/msg00280.txt.bz2 ------- Comment #8 from jv244 at cam dot ac dot uk 2009-05-05 04:18 ------- (In reply to comment #6) > opt/gcc/gcc-4.5-work/gcc/testsuite/gfortran.dg/import6.f90:42.13: > > call func1(x) > 1 > Error: Type mismatch in argument 'param' at (1); passed TYPE(my_type) to > TYPE(my_type) that's a proper error as well, TYPE(my_type) needs to have the SEQUENCE attribute for this to be correct -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011