cc1plus hangs in cp_build_qualified_type_real when compiling with g++44
Issue
cc1plus
hangs incp_build_qualified_type_real
when compiling withg++44
.
# gstack 24895 | head
#0 strip_array_types (type=0x7f59a56fb840) at ../../gcc/tree.c:5829
#1 0x0000000000943509 in cp_type_quals (type=<optimized out>) at ../../gcc/cp/typeck.c:7242
#2 0x0000000000976208 in cp_build_qualified_type_real (type=0x7f59a5992540, type_quals=1, complain=<optimized out>) at ../../gcc/cp/tree.c:786
#3 0x00000000008c7601 in grokdeclarator (declarator=0x34ce650, declspecs=0x7ffc0a6a0bd0, decl_context=TYPENAME, initialized=0, attrlist=0x7ffc0a6a0bb8) at ../../gcc/cp/decl.c:8128
#4 0x00000000008cba0d in groktypename (type_specifiers=<optimized out>, declarator=<optimized out>, is_template_arg=<optimized out>) at ../../gcc/cp/decl.c:4021
#5 0x000000000092d24f in cp_parser_type_id_1 (parser=<optimized out>, is_template_arg=0 '\000', is_trailing_return=<optimized out>) at ../../gcc/cp/parser.c:13921
#6 0x000000000092dd78 in cp_parser_type_id (parser=0x7f59ad1664b0) at ../../gcc/cp/parser.c:13927
#7 cp_parser_cast_expression (parser=0x7f59ad1664b0, address_p=0 '\000', cast_p=0 '\000', pidk=0x0) at ../../gcc/cp/parser.c:6110
#8 0x000000000092dfdc in cp_parser_binary_expression (parser=0x7f59ad1664b0, cast_p=<optimized out>, no_toplevel_fold_p=0 '\000', prec=PREC_NOT_OPERATOR, pidk=<optimized out>) at ../../gcc/cp/parser.c:6254
#9 0x000000000092e2b2 in cp_parser_assignment_expression (parser=0x7f59ad1664b0, cast_p=<optimized out>, pidk=<optimized out>) at ../../gcc/cp/parser.c:6442
Environment
- Red Hat Enterprise Linux 7
- compat-gcc-44-c++
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.