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

            Bug ID: 60410
           Summary: -fshort-double ICEs x86_64
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pmatos at gcc dot gnu.org

Created attachment 32259
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32259&action=edit
Testcase for this bug (and pr55113 as well)

After fixing PR55113, I noticed that the testcase gcc.dg/lto/pr55113_0.c ICEs
x86_64:

$ top-trunk/toolchain/install-native/bin/gcc -O2 -o test pr55113_0.c
-fshort-double 
<built-in>: internal compiler error: in layout_type, at stor-layout.c:2116
0xb36233 layout_type(tree_node*)
        ../../../src/gcc/gcc/stor-layout.c:2115
0xdf8998 make_vector_type
        ../../../src/gcc/gcc/tree.c:9431
0xdfbb87 build_vector_type_for_mode(tree_node*, machine_mode)
        ../../../src/gcc/gcc/tree.c:10205
0xe8dd57 ix86_get_builtin_type
        ../../../src/gcc/gcc/config/i386/i386.c:27021
0xe8de95 ix86_get_builtin_func_type
        ../../../src/gcc/gcc/config/i386/i386.c:27071
0xe8dfa1 def_builtin
        ../../../src/gcc/gcc/config/i386/i386.c:28787
0xe8e662 ix86_init_mmx_sse_builtins
        ../../../src/gcc/gcc/config/i386/i386.c:30724
0xe92e8f ix86_init_builtins
        ../../../src/gcc/gcc/config/i386/i386.c:32677
0x62c692 c_define_builtins
        ../../../src/gcc/gcc/c-family/c-common.c:5268
0x62e09c c_common_nodes_and_builtins()
        ../../../src/gcc/gcc/c-family/c-common.c:5712
0x57b859 c_init_decl_processing()
        ../../../src/gcc/gcc/c/c-decl.c:3550
0x5d260f c_objc_common_init()
        ../../../src/gcc/gcc/c/c-objc-common.c:63
0xb4333c lang_dependent_init
        ../../../src/gcc/gcc/toplev.c:1712
0xb4374a do_compile
        ../../../src/gcc/gcc/toplev.c:1900
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.

Reply via email to