This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/63372] New: -fshort-double causes stor-layout ICE


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63372

            Bug ID: 63372
           Summary: -fshort-double causes stor-layout ICE
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi-gcc at firstfloor dot org

Created attachment 33568
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33568&action=edit
test case

This came up while running the opentuner gccflags, which automatically searches
for better performance compiler flags

g++50 matrix.i -O0 -fshort-double


gcc version 4.9.0 20130617 (experimental) (GCC) 


Test case is not reduced.

built-in>:0:0: internal compiler error: in layout_type, at stor-layout.c:2127
0x8c85a9 layout_type(tree_node*)
        ../../gcc/gcc/stor-layout.c:2126
0xa4d0c8 make_vector_type
        ../../gcc/gcc/tree.c:9406
0xa80660 ix86_get_builtin_type
        ../../gcc/gcc/config/i386/i386.c:25817
0xa80740 ix86_get_builtin_func_type
        ../../gcc/gcc/config/i386/i386.c:25867
0xa8e5c4 def_builtin
        ../../gcc/gcc/config/i386/i386.c:27143
0xa8e5c4 ix86_init_mmx_sse_builtins
        ../../gcc/gcc/config/i386/i386.c:28667
0xa8e5c4 ix86_init_builtins
        ../../gcc/gcc/config/i386/i386.c:30405
0x605c89 c_define_builtins
        ../../gcc/gcc/c-family/c-common.c:5161
0x605c89 c_common_nodes_and_builtins()
        ../../gcc/gcc/c-family/c-common.c:5609
0x50126f cxx_init_decl_processing()
        ../../gcc/gcc/cp/decl.c:3671
0x557cb8 cxx_init()
        ../../gcc/gcc/cp/lex.c:249
0x8cf7d7 lang_dependent_init
        ../../gcc/gcc/toplev.c:1696
0x8cf7d7 do_compile
        ../../gcc/gcc/toplev.c:1858
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]