From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17708 invoked by alias); 17 Feb 2010 01:07:52 -0000 Received: (qmail 17683 invoked by uid 48); 17 Feb 2010 01:07:42 -0000 Date: Wed, 17 Feb 2010 01:07:00 -0000 Message-ID: <20100217010742.17682.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/42451] 'warning: type of "array" does not match original declaration' with -flto/-fwhopr In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" 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-02/txt/msg01615.txt.bz2 ------- Comment #5 from zsojka at seznam dot cz 2010-02-17 01:07 ------- Testcase from comment #4 still fails in trunk with checking enabled: $ /mnt/svn/gcc-trunk/binary-156800-lto/bin/gcc -fPIC -shared -flto 1.cpp 2.cpp 3.cpp header.h:10:20: warning: type of ‘array’ does not match original declaration 2.cpp:7:14: note: previously declared here In function ‘f3’: lto1: internal compiler error: in input_gimple_stmt, at lto-streamer-in.c:1093 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: /mnt/svn/gcc-trunk/binary-156800-lto/bin/gcc returned 1 exit status collect2: lto-wrapper returned 1 exit status -- zsojka at seznam dot cz changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, ice-checking, | |ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42451