diff options
author | Kenneth Zadeck <zadeck@naturalbridge.com> | 2012-11-09 13:18:49 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@naturalbridge.com> | 2012-11-09 13:18:49 +0000 |
commit | d122fc89182b8eb290145aff6d8fb759fd9a4959 (patch) | |
tree | 14eb70250d56758d9b1d2e729de8d07b9421d0c1 /gcc/cfgexpand.c | |
parent | dcd3c152bbcae3d48ed860ceb18cd573398ed9a1 (diff) |
2012-11-09 Kenneth Zadeck <zadeck@naturalbridge.com>
* rtl.h (CONST_SCALAR_INT_P): New macro.
* cfgexpand.c (expand_debug_locations): Changed to use
CONST_SCALAR_INT_P macro.
* combine.c (try_combine, subst, make_extraction,
gen_lowpart_for_combine): Ditto.
* cselib.c (entry_and_rtx_equal_p, rtx_equal_for_cselib_1): Ditto.
* dwarf2out.c (loc_descriptor): Ditto.
* emit-rtl.c (gen_lowpart_common): Ditto.
* ira-costs.c (record_reg_classes, record_address_regs): Ditto.
* ira-lives.c (single_reg_class): Ditto.
* recog.c (simplify_while_replacing, asm_operand_ok,
constrain_operands): Ditto.
* reload.c (find_reloads): Ditto.
* simplify-rtx.c (simplify_unary_operation_1,
simplify_const_unary_operation, simplify_binary_operation_1,
simplify_const_binary_operation, simplify_relational_operation_1,
simplify_subreg): Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index e501b4b1c1f..0bd9d1dceb5 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -3647,9 +3647,8 @@ expand_debug_locations (void) gcc_assert (mode == GET_MODE (val) || (GET_MODE (val) == VOIDmode - && (CONST_INT_P (val) + && (CONST_SCALAR_INT_P (val) || GET_CODE (val) == CONST_FIXED - || CONST_DOUBLE_AS_INT_P (val) || GET_CODE (val) == LABEL_REF))); } |