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++/17354] New: ICE: in lower_stmt, at gimple-low.c:205


This code is giving me an ICE:

#include <string>
#include <map>

void parse()
{
        typedef int (*optfunc)();
        std::map<std::string, optfunc> helper;
        int taken = helper[""]();
}

g++ --save-temps -c -o ice.o ice.C
 <with_cleanup_expr 0xf65e64e0>ice.C: In function `void parse()':
ice.C:5: internal compiler error: in lower_stmt, at gimple-low.c:205
Please submit a full bug report,

g++ (GCC) 3.5.0 20040907 (experimental)

Please tell if preprocessed code is needed.

-- 
           Summary: ICE: in lower_stmt, at gimple-low.c:205
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: larsbj at gullik dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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