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



             Bug #: 54936

           Summary: ICE: in prepare_cmp_insn, at optabs.c:4177 with

                    -fnon-call-exceptions and vector float compare

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: rtl-optimization

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: zso...@seznam.cz





Created attachment 28453

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28453

reduced testcase



Compiler output:

$ gcc -fexceptions -fnon-call-exceptions testcase.c

testcase.c: In function 'foo':

testcase.c:6:14: internal compiler error: in prepare_cmp_insn, at optabs.c:4177

   (void) (f1 < f2);

              ^

linux-vdso.so.1: No such file or directory

0x8eb3ed prepare_cmp_insn

        /mnt/svn/gcc-trunk/gcc/optabs.c:4177

0x8eb65c emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,

machine_mode, int, rtx_def*)

        /mnt/svn/gcc-trunk/gcc/optabs.c:4309

0x6fe624 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,

machine_mode, rtx_def*, rtx_def*, rtx_def*, int)

        /mnt/svn/gcc-trunk/gcc/dojump.c:1074

0x773999 emit_store_flag_force(rtx_def*, rtx_code, rtx_def*, rtx_def*,

machine_mode, int, int)

        /mnt/svn/gcc-trunk/gcc/expmed.c:5883

0x7958f4 do_store_flag

        /mnt/svn/gcc-trunk/gcc/expr.c:10815

0x7958f4 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,

expand_modifier)

        /mnt/svn/gcc-trunk/gcc/expr.c:8819

0x69b4f0 expand_gimple_stmt_1

        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:2142

0x69b4f0 expand_gimple_stmt

        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:2202

0x69ca7b expand_gimple_basic_block

        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:3956

0x69ee1a gimple_expand_cfg

        /mnt/svn/gcc-trunk/gcc/cfgexpand.c:4475

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <http://gcc.gnu.org/bugs.html> for instructions.



Tested revisions:

r192466 - crash

4.7 r191640 - crash

4.6 - won't compile

Reply via email to