From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4707 invoked by alias); 30 Apr 2010 13:57:51 -0000 Received: (qmail 4595 invoked by uid 48); 30 Apr 2010 13:57:29 -0000 Date: Fri, 30 Apr 2010 13:57:00 -0000 Message-ID: <20100430135729.4594.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/43879] -fipa-pta causes various miscompilations In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth 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-04/txt/msg03353.txt.bz2 ------- Comment #14 from rguenth at gcc dot gnu dot org 2010-04-30 13:57 ------- Indeed all proc_ptr_* execution FAILs are fixed with -fwhole-program. The frontend does not properly unify decls for example in proc_ptr_comp_12.f90 for testObj%test => returnMat vs. function returnMat( a, b ) result( mat ) without -fwhole-file. But all IPA optimizations rely on that, so it's critical that -fwhole-file is enabled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879