From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5383 invoked by alias); 12 Sep 2011 12:56:17 -0000 Received: (qmail 5375 invoked by uid 22791); 12 Sep 2011 12:56:17 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_NX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Sep 2011 12:56:00 +0000 From: "xunxun1982 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/50351] An internal compiler error when building gcc4.6 using "-flto -fuse-linker-plugin" on Win7 mingw64 target Date: Mon, 12 Sep 2011 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xunxun1982 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-09/txt/msg00822.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50351 --- Comment #3 from PcX 2011-09-12 12:55:55 UTC --- Using Eric Botcazou's test case, it also has the problem. gcc lex.c has no problem gcc -flto -fuse-linker-plugin lex.c it shows In file included from lex.c:15:0, from :0: lex.c: In function 'foo': lex.c:16:15: internal compiler error: in convert_move, at expr.c:330 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: gcc returned 1 exit status e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.0/../../../../i686-w64-mingw32/bin/ld.exe: lto-wrapper failed collect2.exe: error: ld returned 1 exit status gcc -flto -fuse-linker-plugin lex.c -msse2 has no problem.