1. 11 Jul, 2008 3 commits
  2. 10 Jul, 2008 14 commits
  3. 09 Jul, 2008 17 commits
    • revert: arm.opt (mandroid): New option. · 62d33f08
      2008-07-09  Doug Kwan  <dougkwan@google.com>
      
      	Revert:
      	2008-07-08  Doug Kwan  <dougkwan@google.com>
      
      	* config/arm/arm.opt (mandroid): New option.
      	* config/arm/bpabi.h (ANDROID_LINK_SPEC): New macro.
      	(LINK_SPEC): Enable Android specific behaviour when -mandroid is used.
      	(CC1_SPEC): Same.
      	(CC1PLUS_SPEC): Same.
      	(LIB_SPEC): Same.
      	(STARTFILE_SPEC): Same.
      	(ENDFILE_SPEC): Same.
      	(TARGET_BPABI_CPP_BUILTINS): Define __ANDROID__ when -mandroid is
      	used.
      
      From-SVN: r137675
      Doug Kwan committed
    • typedefs-2.cc, [...]: Use -Wl,--no-enum-size-warning for arm*-*-linux*eabi. · 70dfa2d7
      	* testsuite/20_util/make_signed/requirements/typedefs-2.cc,
      	testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use
      	-Wl,--no-enum-size-warning for arm*-*-linux*eabi.
      
      From-SVN: r137673
      Joseph Myers committed
    • re PR c++/36760 (Simple std::bind use causes warnings with -Wextra) · 3d7c63cf
      /cp
      2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36760
      	* pt.c (tsubst_function_type): Remove warning for type qualifiers
      	on function return type.
      
      /testsuite
      2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36760
      	* g++.dg/warn/Wreturn-type-4.C: Adjust.
      
      From-SVN: r137672
      Paolo Carlini committed
    • re PR target/35802 (MIPS64: Unable to find a register to spill in class ‘V1_REG’) · 256f27f1
      gcc/
      	PR target/35802
      	* config/mips/mips.h (reg_class): Remove V1_REG.
      	(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
      	* config/mips/mips.c (mips_regno_to_class): Map $3 to M16_NA_REGS
      	instead of V1_REGS.
      	(mips_get_tp): New function.
      	(mips_legitimize_tls_address): Use it.
      	* config/mips/constraints.md (v): Delete.
      	* config/mips/mips.md (TLS_GET_TP_REGNUM): New constant.
      	(tls_get_tp_<mode>): Allow any GPR destination and clobber $3.
      	After reload, split into a move and ...
      	(*tls_get_tp_<mode>_split): ...this new instruction.
      
      gcc/testsuite/
      	PR target/35802
      	* gcc.target/mips/pr35802.c: New test.
      
      From-SVN: r137670
      Richard Sandiford committed
    • driver-native.c: Include coretypes.h and tm.h. · 432b5555
      2008-07-09  David Daney  <ddaney@avtrex.com>
      
      	* config/mips/driver-native.c: Include coretypes.h and tm.h.
      
      From-SVN: r137669
      David Daney committed
    • gimplify.c (struct gimplify_ctx): Move to tree-gimple.h. · d406b663
      	* gimplify.c (struct gimplify_ctx): Move to tree-gimple.h.
      	(push_gimplify_context): Don't allocate temp_htab nor c itself here.
      	Add c argument.
      	(pop_gimplify_context): Check c->temp_htab instead of optimize whether
      	htab_delete should be called.  Don't free c.
      	(lookup_tmp_var): Create temp_htab lazily.
      	(gimplify_scan_omp_clauses, gimplify_omp_parallel, gimplify_omp_task,
      	gimplify_body, force_gimple_operand): Adjust push_gimplify_context
      	callers.
      	* omp-low.c (lower_omp_sections, lower_omp_single, lower_omp_master,
      	lower_omp_ordered, lower_omp_critical, lower_omp_for,
      	create_task_copyfn, lower_omp_taskreg, execute_lower_omp): 
      	* tree-ssa-ccp.c (convert_to_gimple_builtin): Likewise.
      	* tree-sra.c (generate_element_init): Likewise.
      	* tree-mudflap.c (execute_mudflap_function_ops,
      	execute_mudflap_function_decls): Likewise.
      	* tree-inline.c (setup_one_parameter, optimize_inline_calls): Likewise.
      	* tree-gimple.h (struct gimplify_ctx): New type.
      	(push_gimplify_context): Adjust prototype.
      
      From-SVN: r137666
      Jakub Jelinek committed
    • tree-ssa-pre.c (phi_translate_1): Update placement of add_to_value calls. · b0a0ab2d
      2008-07-09  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-pre.c (phi_translate_1): Update placement of
      	add_to_value calls.
      
      From-SVN: r137665
      Daniel Berlin committed
    • 2008-07-09 Paolo Carlini <paolo.carlini@oracle.com> · ae453827
      	* Adjust ChangeLog.
      
      From-SVN: r137662
      Paolo Carlini committed
    • re PR c++/36760 (Simple std::bind use causes warnings with -Wextra) · af5216d3
      /cp
      2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36760
      	* pt.c (tsubst_function_type): Don't warn for type qualifiers
      	on function return type in case of system header.
      
      /testsuite
      2008-07-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/36760
      	* g++.dg/warn/pragma-system_header5.C: New.
      	* g++.dg/warn/pragma-system_header5.h: Likewise.
      
      From-SVN: r137660
      Paolo Carlini committed
    • random_shuffle.h: (sequential_random_shuffle) Copy data back. · 361eefe7
      2008-07-09  Johannes Singler  <singler@ira.uka.de>
      
               * include/parallel/random_shuffle.h:
               (sequential_random_shuffle) Copy data back.
               * testsuite/25_algorithms/random_shuffle/1.cc:
               New. Generic random_shuffle functionality test.
      
      From-SVN: r137658
      Johannes Singler committed
    • target.h (struct gcc_target): Add hard_regno_scratch_ok field. · dbc42c44
      	* target.h (struct gcc_target): Add hard_regno_scratch_ok field.
      	* target-def.h (TARGET_HARD_REGNO_SCRATCH_OK): New.
      	(TARGET_INITIALIZER): Use TARGET_HARD_REGNO_SCRATCH_OK.
      	* targhooks.c (default_hard_regno_scratch_ok): New function.
      	* targhooks.h (default_hard_regno_scratch_ok): Declare function.
      	* doc/tm.texi: Document TARGET_HARD_REGNO_SCRATCH_OK hook.
      	* recog.c:  Include "target.h".
      	(peep2_find_free_register): Add check for global regs. Add target
      	specific check.
      	* Makefile.in (recog.o): Depend on target.h.
      
      From-SVN: r137657
      Anatoly Sokolov committed
    • sh.c (sh_canonical_va_list_type): New. · 28f16d05
      	* config/sh/sh.c (sh_canonical_va_list_type): New.
      	(TARGET_CANONICAL_VA_LIST_TYPE): Define.
      
      From-SVN: r137656
      Kaz Kojima committed
    • invoke.texi (Option Summary): Mention new option -Wdisallowed-function-list=... · 1ebc7e68
      2008-07-09  Raksit Ashok <raksit@google.com>
      
      	* doc/invoke.texi (Option Summary): Mention new option
      	-Wdisallowed-function-list=...
      	(Warning Options): Document -Wdisallowed-function-list=...
      	* common.opt (Wdisallowed-function-list=): New flag.
      	* flags.h (warn_disallowed_functions): External definition of new
      	boolean warning flag.
      	(warn_if_disallowed_function_p): Declare new function.
      	* opts.c (warning_disallowed_functions): New static variable.
      	(warn_disallowed_functions): New boolean warning flag.
      	(warn_if_disallowed_function_p): New function.
      	(add_comma_separated_to_vector): Rename
      	add_instrument_functions_exclude_list to this.
      	(common_handle_option): Handle new option. Rename calls to
      	add_instrument_functions_exclude_list into calls to
      	add_comma_separated_to_vector.
      	* c-parser.c (c_parser_postfix_expression_after_primary): New warning
      	based on flag warn_disallowed_functions.
      
      
      gcc/cp/ChangeLog
      
      2008-07-09  Raksit Ashok <raksit@google.com>
      
      	* parser.c (cp_parser_postfix_expression): New warning based on flag
      	warn_disallowed_functions.
      
      
      gcc/testsuite/ChangeLog
      
      2008-07-09  Raksit Ashok <raksit@google.com>
      
      	* gcc.dg/wdisallowed-functions-1.c: New test.
      	* gcc.dg/wdisallowed-functions-2.c: New test.
      	* g++.dg/warn/Wdisallowed-functions-1.C: New test.
      	* g++.dg/warn/Wdisallowed-functions-2.C: New test.
      
      From-SVN: r137655
      Raksit Ashok committed
    • http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00520.html · 47d268d0
      From-SVN: r137654
      Christian Bruel committed
    • genattrtab.c (insert_right_side, [...]): Avoid C++ keywords. · 8ad97cfc
      	* genattrtab.c (insert_right_side, evaluate_eq_attr): Avoid C++
      	keywords.
      	* genemit.c (gen_insn): Likewise.
      	* gengtype.c (note_def_vec): Likewise.
      	* gengtype.h (note_def_vec): Likewise.
      	* genoutput.c (struct data, output_insn_data, process_template,
      	gen_expand, gen_split, note_constraint): Likewise.
      	* genrecog.c (new_decision, add_to_sequence, factor_tests,
      	make_insn_sequence): Likewise.
      	* gensupport.c (record_insn_name): Likewise.
      
      From-SVN: r137653
      Kaveh R. Ghazi committed
    • arm.opt (mandroid): New option. · 588021c0
      2008-07-08  Doug Kwan  <dougkwan@google.com>
      
      	* config/arm/arm.opt (mandroid): New option.
      	* config/arm/bpabi.h (ANDROID_LINK_SPEC): New macro.
      	(LINK_SPEC): Enable Android specific behaviour when -mandroid is used.
      	(CC1_SPEC): Same.
      	(CC1PLUS_SPEC): Same.
      	(LIB_SPEC): Same.
      	(STARTFILE_SPEC): Same.
      	(ENDFILE_SPEC): Same.
      	(TARGET_BPABI_CPP_BUILTINS): Define __ANDROID__ when -mandroid is
      	used.
      
      From-SVN: r137651
      Doug Kwan committed
    • Daily bump. · 310d932e
      From-SVN: r137649
      GCC Administrator committed
  4. 08 Jul, 2008 6 commits