From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9905 invoked by alias); 25 Mar 2014 11:46:28 -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 9530 invoked by uid 48); 25 Mar 2014 11:46:24 -0000 From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60648] New: [4.8 Regression] ICE (segmentation fault) in expand_binop Date: Tue, 25 Mar 2014 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at gcc dot gnu.org 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: 2014-03/txt/msg02253.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60648 Bug ID: 60648 Summary: [4.8 Regression] ICE (segmentation fault) in expand_binop Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Created attachment 32445 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32445&action=edit preprocessed source seen with trunk r208764 on i686-linux-gnu, works on x86_64-linux-gnu, works with the 4.8 branch, can be worked around with -O2. $ gcc -O3 -fPIC -c vec.ii In file included from ../../../src/meep.hpp:23:0, from ../../../src/meep_internals.hpp:18, from ../../../src/vec.cpp:23: ../../../src/meep/vec.hpp: In function 'double (* meep::derived_component_func(meep::derived_component, const meep::grid_volume&, int&, meep::component*))(const std::complex*, const meep::vec&, void*)': ../../../src/meep/vec.hpp:325:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. Program received signal SIGSEGV, Segmentation fault. 0x084f5382 in expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) () (gdb) bt #0 0x084f5382 in expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) () #1 0x083c1b6d in force_operand(rtx_def*, rtx_def*) () #2 0x083a6f1d in memory_address_addr_space(machine_mode, rtx_def*, unsigned char) () #3 0x083c2d96 in try_tablejump(tree_node*, tree_node*, tree_node*, tree_node*, rtx_def*, rtx_def*, int) () #4 0x08594c63 in ?? () #5 0x08596f25 in expand_case(gimple_statement_base*) () #6 0x0830a7a1 in ?? () #7 0x0830b5f8 in ?? () #8 0x0830d897 in ?? () #9 0x08506fc9 in execute_one_pass(opt_pass*) () #10 0x0850720f in execute_pass_list(opt_pass*) () #11 0x0832b4b8 in ?? () #12 0x0832cd6f in compile() () #13 0x0832d1c8 in finalize_compilation_unit() () #14 0x081eb3f1 in cp_write_global_declarations() () #15 0x085a0d25 in ?? () #16 0x085a28e6 in toplev_main(int, char**) () #17 0x081881cb in main ()