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

            Bug ID: 59886
           Summary: ICE in expand_expr_real_2
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: larsbj at gullik dot net

Created attachment 31897
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31897&action=edit
Reduced preprocessed code.

g++ --version
g++ (GCC) 4.9.0 20140120 (experimental) as of rev 206794

When compiling the attached preprocessed code (somewhat reduced),
I get the following ICE:

g++ -std=gnu++11 DnsLocatorProfiles.ii
functional/protocols/dnslocator/DnsLocatorProfiles.cpp: In function ‘void
__static_initialization_and_destruction_0(int, int)’:
functional/protocols/dnslocator/DnsLocatorProfiles.cpp:58:5: internal compiler
error: in expand_expr_real_2, at expr.c:9201
     };
     ^
0x77c193 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        ../../gcc/gcc/expr.c:9201
0x6c122c expand_gimple_stmt_1
        ../../gcc/gcc/cfgexpand.c:3249
0x6c122c expand_gimple_stmt
        ../../gcc/gcc/cfgexpand.c:3309
0x6c18cb expand_gimple_basic_block
        ../../gcc/gcc/cfgexpand.c:5149
0x6c3dc6 gimple_expand_cfg
        ../../gcc/gcc/cfgexpand.c:5715
0x6c3dc6 execute
        ../../gcc/gcc/cfgexpand.c:5935

Reply via email to