public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/55193] New: ICE in in simplify_const_unary_operation, at simplify-rtx.c:1659
@ 2012-11-03 16:30 martin.kronbichler at it dot uu.se
  2012-11-03 16:58 ` [Bug debug/55193] " mpolacek at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: martin.kronbichler at it dot uu.se @ 2012-11-03 16:30 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55193

             Bug #: 55193
           Summary: ICE in in simplify_const_unary_operation, at
                    simplify-rtx.c:1659
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: martin.kronbichler@it.uu.se


Created attachment 28603
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28603
Delta-reduced test case

With gcc trunk (rev 193123) on x86-64 linux:

$ g++-4.8 -v
Using built-in specs.
COLLECT_GCC=g++-4.8
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../gcc_trunk/configure --enable-languages=c,c++,fortran
--prefix=/usr/local --program-suffix=-4.8 --enable-shared
--enable-linker-build-id --with-system-zlib --without-included-gettext
--enable-threads=posix --enable-nls --enable-libstdcxx-time=yes
--disable-multilib --enable-plugin --disable-werror --with-tune=corei7-avx
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu --with-isl=/usr/local --with-cloog=/usr/local
Thread model: posix
gcc version 4.8.0 20121103 (experimental) (GCC)

I compile the attached test case with command line:

$ g++-4.8 -g -Og testcase2.i -c

which leads to the ICE below. The error only appears with both -Og and -g
specified.


testcase2.i: In function ‘void foo(FEValues&, Tensor&, vector<double>&)’:
testcase2.i:49:7: internal compiler error: in simplify_const_unary_operation,
at simplify-rtx.c:1659
       }
       ^
0x8a7063 simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    ../../gcc_trunk/gcc/simplify-rtx.c:1659
0x89ddda simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    ../../gcc_trunk/gcc/simplify-rtx.c:783
0x698a50 cselib_expand_value_rtx_1
    ../../gcc_trunk/gcc/cselib.c:1826
0x699d6e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def*
(*)(rtx_def*, bitmap_head_def*, int, void*), void*)
    ../../gcc_trunk/gcc/cselib.c:1534
0xa27488 vt_expand_var_loc_chain
    ../../gcc_trunk/gcc/var-tracking.c:8063
0xa27488 vt_expand_loc_callback
    ../../gcc_trunk/gcc/var-tracking.c:8225
0x69891f cselib_expand_value_rtx_1
    ../../gcc_trunk/gcc/cselib.c:1687
0x699d6e cselib_expand_value_rtx_cb(rtx_def*, bitmap_head_def*, int, rtx_def*
(*)(rtx_def*, bitmap_head_def*, int, void*), void*)
    ../../gcc_trunk/gcc/cselib.c:1534
0xa27cb7 vt_expand_var_loc_chain
    ../../gcc_trunk/gcc/var-tracking.c:8063
0xa27cb7 vt_expand_1pvar
    ../../gcc_trunk/gcc/var-tracking.c:8340
0xa2832f emit_note_insn_var_location
    ../../gcc_trunk/gcc/var-tracking.c:8394
0xd1da97 htab_traverse_noresize
    ../../gcc_trunk/libiberty/hashtab.c:784
0xa28cd7 emit_notes_for_changes
    ../../gcc_trunk/gcc/var-tracking.c:8757
0xa290c1 emit_notes_in_bb
    ../../gcc_trunk/gcc/var-tracking.c:9187
0xa290c1 vt_emit_notes
    ../../gcc_trunk/gcc/var-tracking.c:9249
0xa29839 variable_tracking_main_1
    ../../gcc_trunk/gcc/var-tracking.c:10068
0xa29839 variable_tracking_main()
    ../../gcc_trunk/gcc/var-tracking.c:10082


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-14 19:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-03 16:30 [Bug debug/55193] New: ICE in in simplify_const_unary_operation, at simplify-rtx.c:1659 martin.kronbichler at it dot uu.se
2012-11-03 16:58 ` [Bug debug/55193] " mpolacek at gcc dot gnu.org
2012-12-10 17:45 ` [Bug rtl-optimization/55193] [4.8 Regression] " jakub at gcc dot gnu.org
2012-12-10 17:53 ` jakub at gcc dot gnu.org
2012-12-11 18:01 ` jakub at gcc dot gnu.org
2012-12-11 19:15 ` jakub at gcc dot gnu.org
2013-01-14 19:36 ` steven at gcc dot gnu.org

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).