[Bug c++/58076] internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_narrower, at tree.c:8500

2013-09-04 Thread young.cpy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58076

--- Comment #3 from chenpoyang  ---
Before I see an error when compiling gcc, now forgotten...- -


[Bug c++/58076] New: internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_narrower, at tree.c:8500

2013-08-04 Thread young.cpy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58076

Bug ID: 58076
   Summary: internal compiler error: tree check: expected tree
that contains ‘decl common’ structure, have
‘identifier_node’ in get_narrower, at tree.c:8500
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: young.cpy at gmail dot com

0x8991bef tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
../.././gcc/tree.c:9340
0x89a1cac contains_struct_check
../.././gcc/tree.h:3804
0x89a1cac get_narrower(tree_node*, int*)
../.././gcc/tree.c:8500
0x8597a03 operand_equal_for_comparison_p
../.././gcc/fold-const.c:2845
0x85524d2 fold_ternary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*, tree_node*)
../.././gcc/fold-const.c:14098
0x85556c4 fold_build3_stat_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*, tree_node*)
../.././gcc/fold-const.c:15054
0x85994ef fold_binary_op_with_conditional_arg
../.././gcc/fold-const.c:6170
0x8561e9e fold_binary_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
../.././gcc/fold-const.c:10081
0x85894f2 fold_build2_stat_loc(unsigned int, tree_code, tree_node*, tree_node*,
tree_node*)
../.././gcc/fold-const.c:14992
0x85a3547 build_range_check(unsigned int, tree_node*, tree_node*, int,
tree_node*, tree_node*)
../.././gcc/fold-const.c:4279
0x838db81 warn_logical_operator(unsigned int, tree_code, tree_node*, tree_code,
tree_node*, tree_code, tree_node*)
../.././gcc/c-family/c-common.c:1654
0x8172076 build_new_op_1
../.././gcc/cp/call.c:5447
0x8172d3b build_new_op(unsigned int, tree_code, int, tree_node*, tree_node*,
tree_node*, tree_node**, int)
../.././gcc/cp/call.c:5512
0x82ab71c build_x_binary_op(unsigned int, tree_code, tree_node*, tree_code,
tree_node*, tree_code, tree_node**, int)
../.././gcc/cp/typeck.c:3751
0x8289b73 cp_parser_binary_expression
../.././gcc/cp/parser.c:7809
0x8289dd8 cp_parser_assignment_expression
../.././gcc/cp/parser.c:7928
0x828bd1d cp_parser_expression
../.././gcc/cp/parser.c:8090
0x829af4c cp_parser_expression
../.././gcc/cp/parser.c:8129
0x829af4c cp_parser_condition
../.././gcc/cp/parser.c:9786
0x82817b1 cp_parser_selection_statement
../.././gcc/cp/parser.c:9563
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.