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++/51810] internal compiler error


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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-10 14:43:12 UTC ---
Created attachment 26294
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26294
autoreduced testcase

Reduced testcase for trunk.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000af5adb in fold_convert_loc (loc=0, type=0x7ffff584fc78, arg=0x0)
    at /space/rguenther/src/svn/trunk/gcc/fold-const.c:1856
1856      tree orig = TREE_TYPE (arg);
(gdb) bt
#0  0x0000000000af5adb in fold_convert_loc (loc=0, type=0x7ffff584fc78, 
    arg=0x0) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:1856
#1  0x000000000073fbda in cp_fold_convert (type=0x7ffff584fc78, expr=0x0)
    at /space/rguenther/src/svn/trunk/gcc/cp/cvt.c:585
#2  0x00000000007297ae in build_static_cast_1 (type=0x7ffff584fc78, 
    expr=0x7ffff5830700, c_cast_p=0 '\000', valid_p=0x7fffffff4acf "\001", 
    complain=3) at /space/rguenther/src/svn/trunk/gcc/cp/typeck.c:5869
#3  0x000000000072b3b5 in build_static_cast (type=0x7ffff584fc78, 
    expr=0x7ffff5830700, complain=3)
    at /space/rguenther/src/svn/trunk/gcc/cp/typeck.c:6044
#4  0x00000000007d4b3e in move (expr=0x7ffff5830700)
    at /space/rguenther/src/svn/trunk/gcc/cp/tree.c:868


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