From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20323 invoked by alias); 16 May 2013 12:33:50 -0000 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 Received: (qmail 20222 invoked by uid 48); 16 May 2013 12:33:45 -0000 From: "ralf@linux-mips.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56548] [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3 Date: Thu, 16 May 2013 12:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ralf@linux-mips.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01107.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D56548 Ralf Baechle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ralf@linux-mips.org --- Comment #8 from Ralf Baechle --- FWIW, I'm also hitting the same compiler bug with vanilla GCC 4.7.2 and 4.8= .0 compiling a heavily patched 3.4 kernel with LTO for a mips64-linux target. The error messages for gcc 4.7.2: LDFINAL .tmp_vmlinux1 In file included from include/net/sock.h:2119:0, from net/sunrpc/svcsock.c:1041, from :3662: net/sunrpc/svcsock.c: In function =E2=80=98svc_tcp_recvfrom=E2=80=99: net/sunrpc/svcsock.c:935:37: internal compiler error: in emit_move_insn, at expr.c:3435 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [/tmp/ccaNAG6q.ltrans1.ltrans.o] Error 1 make[1]: *** Waiting for unfinished jobs.... lto1: internal compiler error: in output_constructor_regular_field, at varasm.c:4821 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [/tmp/ccaNAG6q.ltrans0.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/lib64/gcc/mips64-lto-linux/4.7.2/../../../../mips64-lto-linux/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make: *** [.tmp_vmlinux1] Error 1 The error messages for gcc 4.8.0: LDFINAL .tmp_vmlinux1 net/sunrpc/svcsock.c: In function =E2=80=98svc_tcp_recvfrom=E2=80=99: net/sunrpc/svcsock.c:1104:0: internal compiler error: in emit_move_insn, at expr.c:3486 static int svc_tcp_recvfrom(struct svc_rqst *rqstp) ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [/tmp/ccehFRUG.ltrans0.ltrans.o] Error 1 make[1]: *** Waiting for unfinished jobs.... net/unix/garbage.c: In function =E2=80=98scan_inflight=E2=80=99: net/unix/garbage.c:156:13: internal compiler error: in copy_to_mode_reg, at explow.c:641 static void scan_inflight(struct sock *x, void (*func)(struct unix_sock *), ^ Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[1]: *** [/tmp/ccehFRUG.ltrans1.ltrans.o] Error 1 lto-wrapper: make returned 2 exit status /usr/lib64/gcc/mips64-lto-linux/4.8.0/../../../../mips64-lto-linux/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make: *** [.tmp_vmlinux1] Error 1 I'm still working under the assumption that the builds are attempting to do something stupid but even if so, an ICE is not the proper way to bail out. >>From gcc-bugs-return-422435-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 16 12:40:47 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 24629 invoked by alias); 16 May 2013 12:40:46 -0000 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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 24571 invoked by uid 48); 16 May 2013 12:40:42 -0000 From: "mikpe at it dot uu.se" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56548] [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3 Date: Thu, 16 May 2013 12:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpe at it dot uu.se X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01108.txt.bz2 Content-length: 532 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56548 --- Comment #9 from Mikael Pettersson --- (In reply to Ralf Baechle from comment #8) > FWIW, I'm also hitting the same compiler bug with vanilla GCC 4.7.2 and > 4.8.0 compiling a heavily patched 3.4 kernel with LTO for a mips64-linux > target. Please upload a pre-processed test case. Since you're getting this with gcc-4.7.2 it's presumably not caused by r193539 as comment #1 indicated. Have you tried gcc trunk, just to see if it's been fixed there?