- 08 Oct, 2012 4 commits
-
-
From-SVN: r192194
Ian Lance Taylor committed -
PR target/54760 * config/sh/sh.md (*mov<mode>_gbr_load, *mov<mode>_gbr_store): New insns and accompanying unnamed splits. * config/sh/predicates.md (general_movsrc_operand, general_movdst_operand): Reject GBR addresses. * config/sh/sh-protos.h (sh_find_equiv_gbr_addr): New declaration. * config/sh/sh.c (sh_address_cost, sh_legitimate_address_p, sh_secondary_reload): Handle GBR addresses. (base_reg_disp): New class. (sh_find_base_reg_disp, sh_find_equiv_gbr_addr): New functions. PR target/54760 * gcc.target/sh/pr54760-2.c: New. * gcc.target/sh/pr54760-3.c: New. From-SVN: r192193
Oleg Endo committed -
From-SVN: r192192
GCC Administrator committed -
* config/mmix/mmix.c (mmix_output_octa): Don't assume HOST_WIDEST_INT_PRINT_HEX starts with "0x". Instead use HOST_WIDE_INT_PRINT_HEX_PURE, falling back to HOST_WIDEST_INT_PRINT_UNSIGNED. From-SVN: r192189
Hans-Peter Nilsson committed
-
- 07 Oct, 2012 11 commits
-
-
2012-10-07 Paolo Carlini <paolo.carlini@oracle.com> * pt.c (fold_non_dependent_expr_sfinae): Remove static specifier. (tsubst_copy_and_build): Use get_target_expr_sfinae. * call.c (build_conditional_expr_1, convert_like_real): Likewise. * cvt.c (build_up_reference): Likewise. (ocp_convert): Use abstract_virtuals_error_sfinae. (build_up_reference): Propagate complain to cp_build_addr_expr. * decl.c (compute_array_index_type): Use fold_non_dependent_expr_sfinae. * cp-tree.h: Update declarations. * cvt.c (build_expr_type_conversion): Tidy. * tree.c (stabilize_aggr_init): Change to static. From-SVN: r192188
Paolo Carlini committed -
/cp 2012-10-07 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51422 * semantics.c (is_normal_capture_proxy): Return true for error_mark_node as DECL_VALUE_EXPR. /testsuite 2012-10-07 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51422 * g++.dg/cpp0x/lambda/lambda-ice8.C: New. From-SVN: r192187
Paolo Carlini committed -
gcc/ * machmode.h (GET_MODE_UNIT_PRECISION): New macro. * simplify-rtx.c (simplify_truncation): New function, extracted from simplify_subreg and (in small part) from simplify_unary_operation_1. (simplify_unary_operation_1) <TRUNCATE>: Use it. Remove sign bit test for !TRULY_NOOP_TRUNCATION_MODES_P. (simplify_subreg): Use simplify_truncate for lowpart subregs where both the inner and outer modes are scalar integers. * config/mips/mips.c (mips_truncated_op_cost): New function. (mips_rtx_costs): Adjust test for BADDU. * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands. From-SVN: r192186
Richard Sandiford committed -
* ipa-inline-analysis.c (do_estimate_edge_time): Return actual time spent by the inlined sequence. (do_estimate_edge_growth): Rename to ... (do_estimate_edge_time): ... this one; return size of inlined sequence. * ipa-inline.h (do_estimate_edge_size): New. (do_estimate_edge_growth): Remove. (estimate_edge_size): New function. (estimate_edge_growth): Use it. From-SVN: r192185
Jan Hubicka committed -
* lto-cgraph.c (lto_symtab_encoder_new): New parameter FOR_INPUT. (lto_symtab_encoder_delete): Update. (lto_symtab_encoder_encode): Update. (compute_ltrans_boundary): Update. (input_symtab): Update. * lto-streamer.h (lto_symtab_encoder_new): Update. * lto.c (read_cgraph_and_symbols): Release type merging hash early; release input encoders. * lto-partition.c (new_partition): Update for new lto_symtab_encoder_new. From-SVN: r192184
Jan Hubicka committed -
2012-10-07 Matthias Klose <doko@ubuntu.com> * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters as unused. (_Unwind_decode_typeinfo_ptr): Mark base as unused. From-SVN: r192182
Matthias Klose committed -
2012-10-07 Matthias Klose <doko@ubuntu.com> * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters as unused. (_Unwind_decode_typeinfo_ptr): Mark base as unused. From-SVN: r192181
Matthias Klose committed -
2012-10-07 Matthias Klose <doko@ubuntu.com> * testsuite/28_regex/algorithms/match/basic: Remove empty directory. * testsuite/28_regex/algorithms/match/extended: Likewise. * testsuite/28_regex/algorithms/match: Likewise. From-SVN: r192180
Matthias Klose committed -
gcc/ * config/mips/mips-protos.h (mips_split_type): New enum. (mips_split_64bit_move_p, mips_split_doubleword_move): Delete. (mips_split_move_p, mips_split_move, mips_split_move_insn_p) (mips_split_move_insn): Declare. * config/mips/mips.c (mips_tuning_info): New variable. (mips_load_store_insns): Use mips_split_move_insn_p instead of mips_split_64bit_move_p. (mips_emit_move_or_split, mips_mult_move_p): New functions. (mips_split_64bit_move_p): Rename to... (mips_split_move_p): ...this and take a mips_split_type argument. Generalize to all moves. Call mips_mult_move_p. (mips_split_doubleword_move): Rename to... (mips_split_move): ...this and take a mips_split_type argument. Assert that mips_split_move_p holds. (mips_insn_split_type, mips_split_move_insn_p, mips_split_move_insn): New functions. (mips_output_move): Use mips_split_move_p instead of mips_split_64bit_move_p. Handle MULT $0, $0 moves. (mips_save_reg): Use mips_emit_move_or_split. (mips_sim_reset): Assign to curr_state. Call targetm.sched.init and advance_state. (mips_sim_init): Call targetm.sched.init_dfa_pre_cycle_insn and targetm.sched.init_dfa_post_cycle_insn, if defined. (mips_sim_next_cycle): Assign to curr_state. Use advance_state instead of state_transition. (mips_sim_issue_insn): Assign to curr_state. Use targetm.sched.variable_issue to see how many more insns can be issued. (mips_seq_time, mips_mult_zero_zero_cost) (mips_set_fast_mult_zero_zero_p, mips_set_tuning_info) (mips_expand_to_rtl_hook): New functions. (TARGET_EXPAND_TO_RTL_HOOK): Define. * config/mips/mips.md (move_type): Add imul. (type): Map imul move_types to imul. (*movdi_32bit, *movti): Add imul alternatives. Use mips_split_move_insn_p and mips_split_move_insn instead of mips_split_64bit_move_p and mips_split_doubleword_move in move splitters. gcc/testsuite/ 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com> Sandra Loosemore <sandra@codesourcery.com> * gcc.target/mips/madd-9.c: Force code to be tuned for the 4kc and test that the accumulator is initialized using MULT. * gcc.target/mips/mips32-dsp-accinit-1.c: New test. * gcc.target/mips/mips32-dsp-accinit-2.c: Likewise. Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com> From-SVN: r192179
Richard Sandiford committed -
gcc/ * config/rs6000/rs6000.c (print_operand) ['A']: Delete. From-SVN: r192178
Segher Boessenkool committed -
From-SVN: r192177
GCC Administrator committed
-
- 06 Oct, 2012 21 commits
-
-
2012-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52764 * ginclude/stdint-wrap.h: In C++11 if __STDC_HOSTED__ define __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS. * ginclude/stdint-gcc.h: In C++11 unconditionally define limit and constant macros. /testsuite 2012-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52764 * g++.dg/cpp0x/stdint.C: New. /libstdc++-v3 2012-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52764 * include/c_global/cstdint: Remove __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS related macros. From-SVN: r192174
Paolo Carlini committed -
2012-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54249 * ginclude/stddef.h: In C++11 mode declare nullptr_t in the global namespace. /testsuite 2012-10-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54249 * g++.dg/cpp0x/stddef.C: New. From-SVN: r192173
Paolo Carlini committed -
* config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set default_use_cxa_atexit to yes. From-SVN: r192170
Gerald Pfeifer committed -
See http://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv 2012-10-06 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Check for presence of secure_getenv. * libgfortran.h: Use HAVE_SECURE_GETENV. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * config.h.in: Regenerated. * configure: Regenerated. From-SVN: r192169
Janne Blomqvist committed -
2012-10-06 Diego Novillo <dnovillo@google.com> * testsuite-management/x86_64-unknown-linux-gnu.xfail: Update. From-SVN: r192168
Diego Novillo committed -
From-SVN: r192167
Jan Hubicka committed -
PR lto/53831 PR lto/54776 * lto-streamer-out.c (produce_symtab): Cleanup; drop v1 API hack. From-SVN: r192166
Jan Hubicka committed -
2012-10-05 Dehao Chen <dehao@google.com> PR debug/54826 * gimple-low.c (lower_stmt): Set the block for call args. From-SVN: r192165
Dehao Chen committed -
From-SVN: r192164
Jan Hubicka committed -
From-SVN: r192163
Jan Hubicka committed -
From-SVN: r192162
Jan Hubicka committed -
* doc/invoke.texi (-fprofile-report): Document. * common.opt (-fprofile-report): New option. * toplev.c (finalize): Call dump_profile_report. * toplev.h (profile_report): Declare. * passes.c (profile_record): New static var. (check_profile_consistency): New function. (dump_profile_record): New function. (execute_one_ipa_transform_pass): Call check_profile_consistency. (execute_one_pass): Likewise. From-SVN: r192161
Jan Hubicka committed -
2012-10-06 Janus Weil <janus@gcc.gnu.org> PR fortran/54832 * resolve.c (resolve_fl_derived0): Correctly copy the 'class_ok' attribute for proc-ptr components with RESULT variable. 2012-10-06 Janus Weil <janus@gcc.gnu.org> PR fortran/54832 * gfortran.dg/typebound_operator_17.f90: New. From-SVN: r192160
Janus Weil committed -
PR lto/54790 * lto.c (resolution_map): New static var. (register_resolution): New function. (lto_register_var_decl_in_symtab): Use it. (read_cgraph_and_symbols): Copy resolutions into the symtab. * lto-streamer.h (lto_symtab_register_decl, lto_symtab_get_resolution, lto_mark_nothrow_fndecl, lto_fixup_nothrow_decls): Remove. * lto-symtab.c (lto_symtab_register_decl): Remove. From-SVN: r192159
Jan Hubicka committed -
2012-10-06 Thomas König <tkoenig@gcc.gnu.org> PR libfortran/54736 * runtime/environ.c (search_unit): Correct logic for binary search. (mark_single): Fix index errors. From-SVN: r192158
Thomas Koenig committed -
2012-10-06 Janus Weil <janus@gcc.gnu.org> PR fortran/45521 * interface.c (generic_correspondence): Implement additional distinguishability criteria of F08. (compare_actual_formal): Reject data object as actual argument for procedure formal argument. 2012-10-06 Janus Weil <janus@gcc.gnu.org> PR fortran/45521 * gfortran.dg/generic_25.f90: New. * gfortran.dg/generic_26.f90: New. * gfortran.dg/generic_27.f90: New. From-SVN: r192157
Janus Weil committed -
PR rtl-optimization/54739 * config/m68k/m68k.md (anddi3, iordi3, xordi3, one_cmpldi2): Remove. From-SVN: r192156
Andreas Schwab committed -
PR target/54760 * config/sh/sh.md (define_constants): Add UNSPECV_GBR. (get_thread_pointer, set_thread_pointer): New expanders. (load_gbr): Rename to store_gbr. Remove GBR_REG use. (store_gbr): New insn. * config/sh/sh.c (prepare_move_operands): Use gen_store_gbr instead of gen_load_gbr in TLS_MODEL_LOCAL_EXEC case. (sh1_builtin_p): New function. (signature_args): Add SH_BLTIN_VP. (bdesc): Add __builtin_thread_pointer and __builtin_set_thread_pointer. PR target/54760 * gcc.target/sh/pr54760-1.c: New. From-SVN: r192155
Oleg Endo committed -
2012-10-06 Joe Seymour <jseymour@codesourcery.com> * include/tr2/dynamic_bitset: Fix cxxabi_forced.h include path. From-SVN: r192154
Joe Seymour committed -
PR rtl-optimization/54739 * config/pa/pa.md: Remove DImode and, not and, ior and xor patterns for 32-bit targets. Adjust expanders. From-SVN: r192152
John David Anglin committed -
From-SVN: r192151
GCC Administrator committed
-
- 05 Oct, 2012 4 commits
-
-
* config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file. * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD. (USE_PT_GNU_EH_FRAME): Define for OpenBSD. (ElfW): Likewise. From-SVN: r192148
Mark Kettenis committed -
2012-10-05 Benjamin Kosnik <bkoz@redhat.com> * testsuite/28_regex/algorithms/match: Rename to... * testsuite/28_regex/algorithms/regex_match: ...this. * testsuite/28_regex/basic_regex/regex.cc: Rename to... * testsuite/28_regex/basic_regex/ctors/basic/default.cc: ...this. * testsuite/util/testsuite_regex.h: New. * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: New. From-SVN: r192146
Benjamin Kosnik committed -
* config/pa/pa.md: Adjust unamed HImode add insn pattern. From-SVN: r192143
John David Anglin committed -
* config/sh/sh.c (builtin_description): Add is_enabled member. (shmedia_builtin_p): New function. (bdesc): Use shmedia_builtin_p for existing built-ins. (sh_media_init_builtins, sh_init_builtins): Merge into single function sh_init_builtins. Add is_enabled checking. Move variable declarations to where they are actually used. (sh_media_builtin_decl, sh_builtin_decl): Merge into single function sh_builtin_decl. Add is_enabled checking. (sh_expand_builtin): Move variable declarations to where they are actually used. From-SVN: r192142
Oleg Endo committed
-