From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19830 invoked by alias); 15 Jul 2013 23:42:29 -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 17576 invoked by uid 55); 15 Jul 2013 23:40:26 -0000 From: "zeccav at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57896] ICE in in expand_expr_real_2 Date: Mon, 15 Jul 2013 23:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: zeccav at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-07/txt/msg00756.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D57896 --- Comment #5 from Vittorio Zecca --- Trying your vastly reduced test case, 152 lines vs 3057 of my original test case, I am getting an ICE in convert_move, at expr.c:452. The following is my backtrace: : In function =E2=80=98__get_cpuid_max=E2=80=99: :1:1: internal compiler error: in convert_move, at expr.c:452 0x62ee1b convert_move(rtx_def*, rtx_def*, int) ../../gcc-4.8.1/gcc/expr.c:451 0x62f098 convert_modes(machine_mode, machine_mode, rtx_def*, int) ../../gcc-4.8.1/gcc/expr.c:781 0x9939dd ix86_legitimize_address ../../gcc-4.8.1/gcc/config/i386/i386.c:13276 0x619880 memory_address_addr_space(machine_mode, rtx_def*, unsigned char) ../../gcc-4.8.1/gcc/explow.c:461 0x60b5a4 change_address_1 ../../gcc-4.8.1/gcc/emit-rtl.c:2021 0x671808 assign_parm_setup_stack ../../gcc-4.8.1/gcc/function.c:3234 0x671808 assign_parms ../../gcc-4.8.1/gcc/function.c:3416 0x67355f expand_function_start(tree_node*) ../../gcc-4.8.1/gcc/function.c:4824 0x58ac99 gimple_expand_cfg ../../gcc-4.8.1/gcc/cfgexpand.c:4552 Adding option -m32 I get ICE in ix86_expand_prologue, at config/i386/i386.c:10559 >>From gcc-bugs-return-426250-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 16 01:59:26 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10812 invoked by alias); 16 Jul 2013 01:59:25 -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 8566 invoked by uid 48); 16 Jul 2013 01:57:22 -0000 From: "raj.khem at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe Date: Tue, 16 Jul 2013 01:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: raj.khem 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-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-07/txt/msg00757.txt.bz2 Content-length: 1366 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 --- Comment #6 from Khem Raj --- here is another case which fails before suggested patch and also after the patch void foo() { double a[20000]; double b = 3.1L / 20000; } Here is result below after applying the patch in comment #3 $ ./gcc/cc1 ~/a.c foo Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <*free_inline_summary> Assembling functions: foo /homes/kraj/a.c: In function 'foo': /homes/kraj/a.c:6:1: internal compiler error: in change_address_1, at emit-rtl.c:1955 } ^ 0x5d7dd0 change_address_1 ../../gcc/gcc/emit-rtl.c:1955 0x5dad82 adjust_address_1(rtx_def*, machine_mode, long, int, int, int, long) ../../gcc/gcc/emit-rtl.c:2087 0x61ac98 alter_subreg(rtx_def**, bool) ../../gcc/gcc/final.c:3062 0x61aed9 cleanup_subreg_operands(rtx_def*) ../../gcc/gcc/final.c:3008 0x7e80b6 reload(rtx_def*, int) ../../gcc/gcc/reload1.c:1240 0x70227b do_reload ../../gcc/gcc/ira.c:4701 0x70227b rest_of_handle_reload ../../gcc/gcc/ira.c:4801 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.