public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/46893] New: [4.5/4.6 Regression] ICE: in trunc_int_for_mode, at explow.c:56 with -O -g Date: Sat, 11 Dec 2010 04:56:00 -0000 [thread overview] Message-ID: <bug-46893-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46893 Summary: [4.5/4.6 Regression] ICE: in trunc_int_for_mode, at explow.c:56 with -O -g Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 22714 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22714 reduced testcase (from gcc.dg/980526-1.c) Compiler output: $ gcc -O -g pr46893.c pr46893.c: In function 'foo': pr46893.c:12:1: internal compiler error: in trunc_int_for_mode, at explow.c:56 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. (gdb) bt #0 fancy_abort (file=0x1103c60 "/mnt/svn/gcc-trunk/gcc/explow.c", line=56, function=0x1103db0 "trunc_int_for_mode") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892 #1 0x000000000068c5ef in trunc_int_for_mode (c=<value optimized out>, mode=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/explow.c:56 #2 0x0000000000671df9 in gen_int_mode (c=<value optimized out>, mode=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/emit-rtl.c:426 #3 0x00000000008b7a76 in simplify_const_unary_operation (code=<value optimized out>, mode=DFmode, op=0x7ffff5ccf390, op_mode=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/simplify-rtx.c:1377 #4 0x00000000008b3c50 in simplify_unary_operation (code=NEG, mode=DFmode, op=0x7ffff5ccf390, op_mode=DFmode) at /mnt/svn/gcc-trunk/gcc/simplify-rtx.c:522 #5 0x0000000000608246 in cselib_expand_value_rtx_1 (orig=0x7ffff5ccf3b0, evd=<value optimized out>, max_depth=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/cselib.c:1475 #6 0x000000000060964f in cselib_expand_value_rtx_cb (orig=<value optimized out>, regs_active=<value optimized out>, max_depth=<value optimized out>, cb=<value optimized out>, data=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/cselib.c:1226 #7 0x0000000000a7bc22 in vt_expand_loc_callback (x=0x17e1e30, regs=0x17a44c0, max_depth=8, data=0x7fffffffd370) at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7008 #8 0x0000000000607fc2 in cselib_expand_value_rtx_1 (orig=0x17e1e30, evd=0x7fffffffd340, max_depth=8) at /mnt/svn/gcc-trunk/gcc/cselib.c:1379 #9 0x000000000060964f in cselib_expand_value_rtx_cb (orig=<value optimized out>, regs_active=<value optimized out>, max_depth=<value optimized out>, cb=<value optimized out>, data=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/cselib.c:1226 #10 0x0000000000a68f8b in vt_expand_loc (loc=<value optimized out>, vars=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7071 #11 0x0000000000a77e72 in vt_expand_loc (varp=0x17bc340, data=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7065 #12 emit_note_insn_var_location (varp=0x17bc340, data=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7182 #13 0x00000000010a6028 in htab_traverse_noresize (htab=<value optimized out>, callback=0xa777e0 <emit_note_insn_var_location>, info=0x7fffffffd590) at /mnt/svn/gcc-trunk/libiberty/hashtab.c:784 #14 0x0000000000a6f74d in emit_notes_for_changes (insn=0x7ffff7ee8798, where=EMIT_NOTE_AFTER_INSN, vars=<value optimized out>) at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7531 #15 0x0000000000a756bd in emit_notes_in_bb () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7930 #16 vt_emit_notes () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:7997 #17 0x0000000000a7b713 in variable_tracking_main_1 () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:8609 #18 variable_tracking_main () at /mnt/svn/gcc-trunk/gcc/var-tracking.c:8623 #19 0x00000000007ec63f in execute_one_pass (pass=0x16366a0) at /mnt/svn/gcc-trunk/gcc/passes.c:1553 #20 0x00000000007ec905 in execute_pass_list (pass=0x16366a0) at /mnt/svn/gcc-trunk/gcc/passes.c:1608 #21 0x00000000007ec917 in execute_pass_list (pass=0x16331a0) at /mnt/svn/gcc-trunk/gcc/passes.c:1609 #22 0x00000000007ec917 in execute_pass_list (pass=0x1633200) at /mnt/svn/gcc-trunk/gcc/passes.c:1609 #23 0x000000000092d156 in tree_rest_of_compilation (fndecl=0x7ffff5cc3f00) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:422 #24 0x0000000000af2962 in cgraph_expand_function (node=0x7ffff5cc8160) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1508 #25 0x0000000000af4f3a in cgraph_expand_all_functions () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1567 #26 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1827 #27 0x0000000000af54ba in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1031 #28 0x0000000000508cdc in c_write_global_declarations () at /mnt/svn/gcc-trunk/gcc/c-decl.c:9845 #29 0x00000000008d69d6 in compile_file (argc=14, argv=0x7fffffffdb28) at /mnt/svn/gcc-trunk/gcc/toplev.c:591 #30 do_compile (argc=14, argv=0x7fffffffdb28) at /mnt/svn/gcc-trunk/gcc/toplev.c:1874 #31 toplev_main (argc=14, argv=0x7fffffffdb28) at /mnt/svn/gcc-trunk/gcc/toplev.c:1937 #32 0x00007ffff6586bbd in __libc_start_main () from /lib/libc.so.6 #33 0x00000000004ef6b9 in _start () Tested revisions: r167621 - crash 4.5 r166509 - crash 4.4 r166509 - OK
next reply other threads:[~2010-12-11 4:56 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-11 4:56 zsojka at seznam dot cz [this message] 2010-12-15 1:24 ` [Bug debug/46893] " hjl.tools at gmail dot com 2010-12-15 10:17 ` jakub at gcc dot gnu.org 2010-12-16 4:43 ` aoliva at gcc dot gnu.org 2010-12-16 4:49 ` aoliva at gcc dot gnu.org 2010-12-16 8:02 ` jakub at gcc dot gnu.org 2010-12-16 14:48 ` rguenth at gcc dot gnu.org 2010-12-16 17:11 ` aoliva at gcc dot gnu.org 2010-12-16 17:14 ` jakub at gcc dot gnu.org 2010-12-16 19:47 ` [Bug debug/46893] [4.5 " jakub at gcc dot gnu.org 2011-01-16 20:26 ` jakub at gcc dot gnu.org 2011-01-17 8:27 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-46893-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).