From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20222 invoked by alias); 28 Jul 2010 12:35:58 -0000 Received: (qmail 20155 invoked by uid 48); 28 Jul 2010 12:35:44 -0000 Date: Wed, 28 Jul 2010 12:35:00 -0000 Message-ID: <20100728123544.20154.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/45087] -fwhole-program: Miscompiled due to wrong decls In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus 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: 2010-07/txt/msg03083.txt.bz2 ------- Comment #3 from burnus at gcc dot gnu dot org 2010-07-28 12:35 ------- Minimal test case, compile with: gfortran --param ggc-min-expand=0 --param ggc-min-heapsize=0 module INTS interface subroutine NEXT end subroutine NEXT subroutine VALUE() end subroutine VALUE end interface end module INTS subroutine NEXT end subroutine NEXT subroutine VALUE() use INTS, only: NEXT CALL NEXT end subroutine VALUE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45087