From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21670 invoked by alias); 2 May 2011 17:18:53 -0000 Received: (qmail 21660 invoked by uid 22791); 2 May 2011 17:18:52 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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, 02 May 2011 17:18:38 +0000 From: "doko at ubuntu dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/48159] [4.7 Regression] ICE: SIGSEGV in build2_stat (tree.c:3802) with -O -ftree-loop-distribution -fno-tree-ch -g X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at ubuntu dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: CC 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 Date: Mon, 02 May 2011 17:18:00 -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 X-SW-Source: 2011-05/txt/msg00117.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48159 Matthias Klose changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doko at ubuntu dot com --- Comment #2 from Matthias Klose 2011-05-02 17:05:14 UTC --- have a similiar build failure, but seen with both 4.6 and 4.7, so this seems to be a 4.6 regression too. works with -O2 and below. fails with 4.6 20110428 and trunk 20110419. $ gcc -g -O3 -c psf.i psf.c: In function 'psf_fit': psf.c:300:6: internal compiler error: Segmentation fault Please submit a full bug report, Program received signal SIGSEGV, Segmentation fault. 0x000000000083e71a in build2_stat () (gdb) bt #0 0x000000000083e71a in build2_stat () #1 0x00000000005490ee in gimple_assign_rhs_to_tree () #2 0x000000000080114e in insert_debug_temp_for_var_def () #3 0x0000000000801538 in insert_debug_temps_for_defs () #4 0x000000000062553a in gsi_remove () #5 0x0000000000763862 in ?? () #6 0x000000000076402f in ?? () #7 0x000000000069f0e9 in execute_one_pass () #8 0x000000000069f395 in execute_pass_list () #9 0x000000000069f3a7 in execute_pass_list () #10 0x000000000069f3a7 in execute_pass_list () #11 0x000000000076b051 in tree_rest_of_compilation () #12 0x00000000008a915f in ?? () #13 0x00000000008aadba in cgraph_optimize () #14 0x00000000008ab1ba in cgraph_finalize_compilation_unit () #15 0x00000000004b6e05 in c_write_global_declarations () #16 0x00000000007301be in toplev_main () #17 0x00007ffff625aeed in __libc_start_main (main=, argc=, ubp_av=, init=, fini=, rtld_fini=, stack_end=0x7fffffffe5e8) at libc-start.c:228 #18 0x00000000004a67f9 in _start ()