From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22340 invoked by alias); 15 Oct 2014 14:59: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 22299 invoked by uid 48); 15 Oct 2014 14:59:25 -0000 From: "bill.klees at teamquest dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/63545] New: ICE building GCC hash_table::find_slot_with_hash Date: Wed, 15 Oct 2014 14:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bill.klees at teamquest 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcctarget 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-10/txt/msg01159.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63545 Bug ID: 63545 Summary: ICE building GCC hash_table::find_slot_with_ hash Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: bill.klees at teamquest dot com Target: ia64-hp-hpux11.23 Created attachment 33726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33726&action=edit config log from ia64-hp-hpux11.23\hpux64\libgcc System ------ HP-UX clhpux1i B.11.23 U ia64 Configure Line -------------- /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./configure --prefix=/shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1 --with-gmp=/opt/32/gmp-6.0.0 --with-mpfr=/opt/32/mpfr-3.1.2 --with-mpc=/opt/32/mpc-1.0.2 --enable-languages=c,c++ CC=/opt/32/gcc-4.7.4/bin/gcc CXX=/opt/32/gcc-4.7.4/bin/g++ --disable-bootstrap --with-gnu-as --with-as=/opt/binutils-2.24/bin/as --without-gnu-ld Error during build ------------------ gmake[4]: Entering directory `/shares/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/ia64-hp-hpux11.23/hpux64/libgcc' # If this is the top-level multilib, build all the other # multilibs. /u/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/./gcc/xgcc -B/u/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/./gcc/ -B/shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/bin/ -B/shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/lib/ -isystem /shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/include -isystem /shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/sys-include -g -O2 -mlp64 -O2 -g -O2 -DIN_GCC -DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../../.././gcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/. -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/../gcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/../include -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/libgcc2.c: In function '__multi3': /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/libgcc2.c:557:1: internal compiler error: Segmentation fault } ^ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See for instructions. gmake[4]: *** [_muldi3.o] Error 1 gmake[4]: Leaving directory `/shares/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/ia64-hp-hpux11.23/hpux64/libgcc' gmake[3]: *** [multi-do] Error 1 gmake[3]: Leaving directory `/shares/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/ia64-hp-hpux11.23/libgcc' gmake[2]: *** [all-multi] Error 2 gmake[2]: Leaving directory `/shares/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/ia64-hp-hpux11.23/libgcc' gmake[1]: *** [all-target-libgcc] Error 2 gmake[1]: Leaving directory `/shares/scratch/users/b/gcc/clhpux1i_32/gcc491_debug' gmake: *** [all] Error 2 Traceback from failure ---------------------- (gdb) bt #0 0x5830880 in () warning: Attempting to unwind past bad PC 0x5830880 #1 0x555c170 in hash_table::find_slot_with_hash ( this=Unhandled dwarf expression opcode ) #2 0x4501220:0 in _ZL16cselib_find_slotP7rtx_defj13insert_option12machine_mode (x=Unhandled dwarf expression opcode ) #3 0x45013a0:0 in cselib_lookup (x=Unhandled dwarf expression opcode ) #4 0x4506460:0 in _ZL18cselib_record_setsP7rtx_def (insn=0x76d98a78) #5 0x450a3d0:0 in cselib_process_insn (insn=Unhandled dwarf expression opcode ) #6 0x52b6ab0:0 in _ZL18rest_of_handle_dsev () #7 0x49fe960:0 in execute_one_pass (pass=Unhandled dwarf expression opcode ) #8 0x49ff4a0:0 in execute_pass_list (pass=0x4027b710) #9 0x49ff500:0 in execute_pass_list (pass=0x4027aed0) #10 0x44de270:0 in _ZL15expand_functionP11cgraph_node (node=Unhandled dwarf expression opcode ) #11 0x44e3800:0 in compile () #12 0x44e4060:0 in finalize_compilation_unit () #13 0x4265f90:0 in c_write_global_declarations () #14 0x4bb8680:0 in _ZL12compile_filev () #15 0x4bbdb30:0 in toplev_main (argc=75, argv=0x7ffff178) #16 0x5431a70:0 in main (argc=75, argv=0x7ffff178) at /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./gcc/main.c:37 Notes ----- The failed compilation step is: /u/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/./gcc/xgcc -B/u/scratch/users/b/gcc/clhpux1i_32/gcc491_debug/./gcc/ -B/shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/bin/ -B/shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/lib/ -isystem /shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/include -isystem /shares/source/itlinks/opt/hpux_ia64/11.2/32/gcc-4.9.1/ia64-hp-hpux11.23/sys-include -g -O2 -mlp64 -O2 -g -O2 -DIN_GCC -DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../../.././gcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/. -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/../gcc -I/shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/../include -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /shares/scratch/users/b/gcc/clhpux1i_32/gcc-4.9.1/./libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS If i change the optimization flag to -O0, the compilation succeeds.