| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/ |
| H A D | c-common.c | 4817 tree low_value, tree high_value) in c_add_case_label() argument 4832 if ((low_value && TREE_TYPE (low_value) in c_add_case_label() 4833 && POINTER_TYPE_P (TREE_TYPE (low_value))) in c_add_case_label() 4847 if (low_value) in c_add_case_label() 4849 low_value = check_case_value (loc, low_value); in c_add_case_label() 4850 low_value = convert_and_check (loc, type, low_value); in c_add_case_label() 4851 low_value = fold (low_value); in c_add_case_label() 4852 if (low_value == error_mark_node) in c_add_case_label() 4864 if (low_value && high_value) in c_add_case_label() 4869 if (tree_int_cst_equal (low_value, high_value)) in c_add_case_label() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c-family/ |
| H A D | c-common.cc | 5063 tree low_value, tree high_value) in c_add_case_label() argument 5078 if ((low_value && TREE_TYPE (low_value) in c_add_case_label() 5079 && POINTER_TYPE_P (TREE_TYPE (low_value))) in c_add_case_label() 5093 if (low_value) in c_add_case_label() 5095 low_value = check_case_value (loc, low_value); in c_add_case_label() 5096 low_value = convert_and_check (loc, type, low_value); in c_add_case_label() 5097 low_value = fold (low_value); in c_add_case_label() 5098 if (low_value == error_mark_node) in c_add_case_label() 5110 if (low_value && high_value) in c_add_case_label() 5115 if (tree_int_cst_equal (low_value, high_value)) in c_add_case_label() [all …]
|
| H A D | ChangeLog | 3310 Don't call check_case_bounds. Fold low_value as well as high_value.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
| H A D | c-typeck.c | 10940 do_case (location_t loc, tree low_value, tree high_value) in do_case() argument 10944 if (low_value && TREE_CODE (low_value) != INTEGER_CST) in do_case() 10946 low_value = c_fully_fold (low_value, false, NULL); in do_case() 10947 if (TREE_CODE (low_value) == INTEGER_CST) in do_case() 10962 if (low_value) in do_case() 10976 low_value, high_value); in do_case()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c/ |
| H A D | c-typeck.cc | 11130 do_case (location_t loc, tree low_value, tree high_value) in do_case() argument 11134 if (low_value && TREE_CODE (low_value) != INTEGER_CST) in do_case() 11136 low_value = c_fully_fold (low_value, false, NULL); in do_case() 11137 if (TREE_CODE (low_value) == INTEGER_CST) in do_case() 11152 if (low_value) in do_case() 11166 low_value, high_value); in do_case()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | decl.c | 3755 finish_case_label (location_t loc, tree low_value, tree high_value) in finish_case_label() argument 3761 if (low_value == NULL_TREE && high_value == NULL_TREE) in finish_case_label() 3771 return add_stmt (build_case_label (low_value, high_value, label)); in finish_case_label() 3786 low_value = case_conversion (type, low_value); in finish_case_label() 3789 r = c_add_case_label (loc, switch_stack->cases, cond, low_value, high_value); in finish_case_label()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | decl.cc | 3958 finish_case_label (location_t loc, tree low_value, tree high_value) in finish_case_label() argument 3964 if (low_value == NULL_TREE && high_value == NULL_TREE) in finish_case_label() 3974 return add_stmt (build_case_label (low_value, high_value, label)); in finish_case_label() 3989 low_value = case_conversion (type, low_value); in finish_case_label() 3992 r = c_add_case_label (loc, switch_stack->cases, cond, low_value, high_value); in finish_case_label()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tree.cc | 2714 build_case_label (tree low_value, tree high_value, tree label_decl) in build_case_label() argument 2721 CASE_LOW (t) = low_value; in build_case_label()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tree.c | 2445 build_case_label (tree low_value, tree high_value, tree label_decl) in build_case_label() argument 2452 CASE_LOW (t) = low_value; in build_case_label()
|