- 30 Jul, 2015 6 commits
-
-
* c-common.c (warn_tautological_cmp): Bail for float types. * c-c++-common/Wtautological-compare-3.c: New test. From-SVN: r226388
Marek Polacek committed -
2015-07-30 Richard Biener <rguenther@suse.de> * genmatch.c (verbose): New global. (warning_at): Add overload with source_location. (capture_info::capture_info): Add bool whether generating gimple or generic. Add gimple member. (capture_info::cinfo): Add capture member. (capture_info::walk_match): Record capture. Warn on non-captured leafs. (capture_info::walk_c_expr): Add more fragments captures cannot escape through. Warn on escaped captures. (dt_simplify::gen_1): Warn on operands we force to have no side-effects. (main): Initialize verbose. * match.pd: Add integer_nonzerop and HONOR_NANS predicates. From-SVN: r226386
Richard Biener committed -
2015-07-30 Richard Biener <rguenther@suse.de> PR middle-end/67053 * match.pd: Allow both operands to independently have conversion when simplifying compares of addresses. From-SVN: r226384
Richard Biener committed -
DR 1558 PR c++/67021 * pt.c (tsubst_decl) [TYPE_DECL]: Clear TYPE_DEPENDENT_P_VALID. From-SVN: r226381
Jason Merrill committed -
PR target/66217 PR target/67045 * config/rs6000/rs6000.md (and<mode>3): Put a CONST_INT_P check around those cases that need one. From-SVN: r226378
Segher Boessenkool committed -
From-SVN: r226377
GCC Administrator committed
-
- 29 Jul, 2015 22 commits
-
-
In a recent change to mksysinfo.sh, a space was missing on some lines which caused the libgo build to hang on some systems. This corrects that problem. Fixes golang/go#11924 Reviewed-on: https://go-review.googlesource.com/12835 From-SVN: r226366
Ian Lance Taylor committed -
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Default to 3. From-SVN: r226365
Aditya Kumar committed -
Since IA MCU uses the same debug register map as Linux/x86, we copy DBX_REGISTER_NUMBER together with TARGET_ASM_FILE_START_FILE_DIRECTIVE and ASM_COMMENT_START from i386/gnu-user.h to i386/iamcu.h. * config/i386/iamcu.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE): New. Copied from config/i386/gnu-user.h. (ASM_COMMENT_START): Likewise. (DBX_REGISTER_NUMBER): Likewise. From-SVN: r226363
H.J. Lu committed -
* MAINTAINERS (Write After Approval): Add a blank line. From-SVN: r226361
Ville Voutilainen committed -
From-SVN: r226358
Ville Voutilainen committed -
re PR libfortran/66650 (libgfortran: warning: left shift of negative value [-Wshift-negative-value]) PR libgfortran/66650 * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid "left shift of negative value" warning. From-SVN: r226355
Uros Bizjak committed -
PR libstdc++/66829 * testsuite/lib/libstdc++.exp (v3-build_support): Compile testsuite_shared.cc with -std=gnu++98. From-SVN: r226354
Jonathan Wakely committed -
(taken from [AArch64] Add support for float14x{4,8}_t vectors/builtins) * gcc.target/aarch64/vld1_lane.c (main): Remove unused test data. (CHECK): Pass address of scalar, rather than array. From-SVN: r226353
Alan Lawrence committed -
(taken from [AArch64] Add support for float14x{4,8}_t vectors/builtins) * gcc.target/aarch64/vld1-vst1_1.c: Add missing float32x4_t case. From-SVN: r226352
Alan Lawrence committed -
2015-07-29 Richard Biener <rguenther@suse.de> * gimple-fold.c (fold_gimple_cond): Remove. (fold_stmt_1): Do not call it. From-SVN: r226351
Richard Biener committed -
* gcc.target/aarch64/fp16/fp16.exp: New. * gcc.target/aarch64/fp16/f16_convs_1.c: New. * gcc.target/aarch64/fp16/f16_convs_2.c: New. From-SVN: r226350
Alan Lawrence committed -
From-SVN: r226349
Jonathan Wakely committed -
2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com> * include/bits/range_access.h: Change class to typename in every template. (size, empty, data): New functions from N4280. * testsuite/24_iterators/container_access.cc: New. From-SVN: r226348
Ville Voutilainen committed -
2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com> PR libstdc++/60970 * include/bits/functional_hash.h (__hash_enum): New. (hash): Derive from __hash_enum. * testsuite/20_util/hash/60970.cc: New. From-SVN: r226347
Ville Voutilainen committed -
gcc/: * config/aarch64/aarch64-builtins.c (aarch64_fp16_type_node): New. (aarch64_init_builtins): Make aarch64_fp16_type_node, use for __fp16. * config/aarch64/aarch64-modes.def: Add HFmode. * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_FP16_FORMAT_IEEE and __ARM_FP16_ARGS. Set bit 1 of __ARM_FP. * config/aarch64/aarch64.c (aarch64_init_libfuncs, aarch64_promoted_type): New. (aarch64_float_const_representable_p): Disable HFmode. (aarch64_mangle_type): Mangle half-precision floats to "Dh". (TARGET_PROMOTED_TYPE): Define to aarch64_promoted_type. (TARGET_INIT_LIBFUNCS): Define to aarch64_init_libfuncs. * config/aarch64/aarch64.md (mov<mode>): Include HFmode using GPF_F16. (movhf_aarch64, extendhfsf2, extendhfdf2, truncsfhf2, truncdfhf2): New. * config/aarch64/iterators.md (GPF_F16): New. gcc/testsuite/: * gcc.target/aarch64/f16_movs_1.c: New test. From-SVN: r226346
Alan Lawrence committed -
2015-07-29 Richard Biener <rguenther@suse.de> * match.pd: Merge address comparison patterns and make them handle some more cases. From-SVN: r226345
Richard Biener committed -
2015-07-29 Richard Biener <rguenther@suse.de> * genmatch.c (c_expr::gen_transform): Error on unknown captures. (parser::parse_capture): Add bool argument on whether to reject unknown captures. (parser::parse_expr): Adjust. (parser::parse_op): Likewise. (parser::parse_pattern): Likewise. From-SVN: r226344
Richard Biener committed -
2015-07-29 Richard Biener <rguenther@suse.de> * gimple-fold.c (has_use_on_stmt): New function. (replace_stmt_with_simplification): Use it to allow abnormals originally referenced in the stmt. (fold_stmt_1): Canonicalize operand order. From-SVN: r226339
Richard Biener committed -
2015-07-29 Markus Trippelsdorf <markus@trippelsdorf.de> PR sanitizer/63927 * sanitizer_common/sanitizer_stacktrace.h: Use fast unwinder for PowerPC. From-SVN: r226338
Markus Trippelsdorf committed -
PR libstdc++/67015 * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term, _BracketMatcher<>::_M_add_collating_element): Change signature to make checking the and of bracket expression easier. * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term): Treat '-' as a valid literal if it's at the end of bracket expression. * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc: New testcases. From-SVN: r226336
Tim Shen committed -
2015-07-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR sanitizer/63927 * sanitizer_common/sanitizer_stacktrace.cc (BufferedStackTrace::FastUnwindStack): Fix code for PowerPC to find the link register at an offset of 16 from the base of the caller's stack frame. From-SVN: r226335
Bill Schmidt committed -
From-SVN: r226334
GCC Administrator committed
-
- 28 Jul, 2015 12 commits
-
-
gcc/ 2015-07-28 David Sherwood <david.sherwood@arm.com> * config/arm/arm.c (neon_element_bits, neon_valid_immediate): Call GET_MODE_INNER unconditionally. * config/spu/spu.c (arith_immediate_p): Likewise. * config/i386/i386.c (ix86_build_signbit_mask): Likewise. * expmed.c (synth_mult): Remove check for VOIDmode result from GET_MODE_INNER. (expand_mult_const): Likewise. * fold-const.c (fold_binary_loc): Replace call to element_precision with call to GET_MODE_PRECISION. * genmodes.c (emit_mode_inner_inline): Replace void_mode->name with m->name. (emit_mode_inner): Likewise. * lto-streamer-out.c (lto_write_mode_table): Update GET_MODE_INNER result check. * machmode.h (GET_MODE_UNIT_SIZE): Simplify. (GET_MODE_UNIT_PRECISION): Likewise. * rtlanal.c (subreg_get_info): Call GET_MODE_INNER unconditionally. * simplify-rtx.c (simplify_immed_subreg): Likewise. * stor-layout.c (bitwise_type_for_mode): Update assert. (element_precision): Remove. From-SVN: r226328
David Sherwood committed -
gcc/ * target-insns.def (reload_load_address): New targetm instruction pattern. * reload1.c (gen_reload): Use it instead of HAVE_*/gen_* interface. From-SVN: r226326
Richard Sandiford committed -
gcc/ * target-insns.def (atomic_test_and_set): New targetm instruction pattern. * optabs.c (maybe_emit_atomic_test_and_set): Use it instead of HAVE_*/gen_* interface. From-SVN: r226325
Richard Sandiford committed -
gcc/ * target-insns.def (can_extend, ptr_extend): New targetm instruction patterns. * optabs.c (can_extend_p): Use them instead of HAVE_*/gen_* interface. * simplify-rtx.c (simplify_unary_operation_1): Likewise. * emit-rtl.c (set_reg_attrs_from_value): Likewise. * rtlanal.c (nonzero_bits1): Likewise. (num_sign_bit_copies1): Likewise. From-SVN: r226324
Richard Sandiford committed -
gcc/ * target-insns.def (eh_return): New targetm instruction pattern. * except.c (expand_eh_return): Use it instead of HAVE_*/gen_* interface. * function.c (thread_prologue_and_epilogue_insns): Remove preprocessor condition. From-SVN: r226322
Richard Sandiford committed -
gcc/ * target-insns.def (indirect_jump): New targetm instruction pattern. * optabs.c (emit_indirect_jump): Use it instead of HAVE_*/gen_* interface. From-SVN: r226321
Richard Sandiford committed -
gcc/ * config/fr30/fr30.md (indirect_jump): Use pmode_register_operand instead of nonimmediate_operand. Remove C condiition. From-SVN: r226320
Richard Sandiford committed -
2015-07-28 Eric Gallager <egall@gwmail.gwu.edu> * check.tpl: Ignore .DS_Store directories. From-SVN: r226317
Eric Gallager committed -
2015-07-28 Richard Biener <rguenther@suse.de> * match.pd: Add more simplification of address comparisons. From-SVN: r226312
Richard Biener committed -
2015-07-28 Richard Biener <rguenther@suse.de> * match.pd: Re-order two cases in comparison with max/min value simplification to make it apply for bools. From-SVN: r226311
Richard Biener committed -
* config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): Handle simple SIGN_EXTEND or ZERO_EXTEND. (aarch64_rtx_costs): Properly strip extend or extract before passing down to rtx costs again. From-SVN: r226309
Kyrylo Tkachov committed -
call.c (build_op_delete_call, [...]): Use Use DECL_SOURCE_LOCATION and "%qD" in inform and pedwarn instead of "%q+D". 2015-07-28 Paolo Carlini <paolo.carlini@oracle.com> * call.c (build_op_delete_call, convert_like_real, build_over_call): Use Use DECL_SOURCE_LOCATION and "%qD" in inform and pedwarn instead of "%q+D". * constexpr.c (explain_invalid_constexpr_fn): Likewise. * decl.c (duplicate_decls): Likewise for warning/warning_at. * except.c (maybe_noexcept_warning): Likewise. * friend.c (make_friend_class): Likewise for inform. * mangle.c (mangle_decl): Likewise for warning/warning_at. * method.c (process_subob_fn, walk_field_subobs, maybe_explain_implicit_delete): Likewise for inform. * parser.c (cp_parser_lambda_introducer): Likewise. * pt.c (check_specialization_namespace, maybe_process_partial_specialization): Likewise for permerror. (redeclare_class_template): Likewise for inform_n. (coerce_template_parms, tsubst_copy_and_build): Likewise for inform. * search.c (check_final_overrider): Likewise. * semantics.c (process_outer_var_ref): Likewise. From-SVN: r226308
Paolo Carlini committed
-