paolo [Fri, 27 Jun 2008 10:47:27 +0000 (10:47 +0000)]
2008-06-27 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_numeric.h (iota): Add in C++0x mode.
* testsuite/util/testsuite_character.h (pod_int): Add operator++
in C++0x mode.
* testsuite/util/testsuite_api.h (NonDefaultConstructible): Likewise.
* testsuite/26_numerics/iota/1.cc: New.
* testsuite/26_numerics/iota/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/26_numerics/iota/requirements/explicit_instantiation/
pod.cc: Likewise.
* include/ext/algorithm: Do not fiddle with the legacy headers.
* testsuite/26_numerics/partial_sum/1.cc: Minor changes, comments,
style.
* testsuite/26_numerics/accumulate/1.cc: Likewise.
* testsuite/26_numerics/adjacent_difference/1.cc: Likewise.
* testsuite/26_numerics/inner_product/1.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137174
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 27 Jun 2008 09:16:45 +0000 (09:16 +0000)]
* utils.c (convert) <CONSTRUCTOR>: When converting it to a packable
version of its type, attempt to first convert its elements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137173
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Fri, 27 Jun 2008 07:46:26 +0000 (07:46 +0000)]
Fix typo in ChangeLog entry date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137172
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Fri, 27 Jun 2008 07:35:33 +0000 (07:35 +0000)]
2008-06-26 Olivier Hainque <hainque@adacore.com>
gcc/
* gimplify.c (gimplify_modify_expr_to_memset): Assert our
documented assumptions.
testsuite/
* gnat.dg/aligned_vla.adb: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137171
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 27 Jun 2008 05:37:52 +0000 (05:37 +0000)]
2008-06-26 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2out.c: Remove trailing white spaces. Break long line
in comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137169
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 27 Jun 2008 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137167
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 26 Jun 2008 21:28:30 +0000 (21:28 +0000)]
gcc/
* libfuncs.h (LTI_synchronize): New libfunc_index.
(synchronize_libfunc): Declare.
* builtins.c (expand_builtin_synchronize): Consider using
synchronize_libfunc before falling back on an asm blockage.
* config/mips/mips.c: Include libfuncs.h
(mips_init_libfuncs): Initialize synchronize_libfunc for TARGET_MIPS16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137162
138bc75d-0d04-0410-961f-
82ee72b054a4
froydnj [Thu, 26 Jun 2008 20:12:41 +0000 (20:12 +0000)]
* config/rs6000/rs6000.c (emit_allocate_stack): Add copy_r11
parameter. Copy stack_reg to r11 where appropriate.
(no_global_regs_above): Add gpr parameter.
(rs6000_stack_info): Only add padding for SPE save area if we
are saving SPE GPRs and CR.
(saveres_routine_syms): New variable.
(FIRST_SAVRES_REGISTER, LAST_SAVRES_REGISTER, N_SAVRES_REGISTERS):
Define.
(rs6000_savres_routine_sym): New function.
(rs6000_emit_stack_reset, rs6000_restore_saved_cr): New functions,
split out of...
(rs6000_emit_epilogue): ...here. Use rs6000_use_multiple_p and
rs6000_savres_strategy. Restore GPRs out-of-line if appropriate.
Tweak FPR out-of-line saving.
(rs6000_make_savres_rtx): New function.
(rs6000_use_multiple_p): New function.
(rs6000_savres_strategy): New function.
(rs6000_emit_prologue): Use rs6000_savres_strategy. Save GPRs
out-of-line if appropriate.
* config/rs6000/sysv4.h (FP_SAVE_INLINE): Save FPRs out-of-line
if we are optimizing for size.
(GP_SAVE_INLINE): Define.
(SAVE_FP_SUFFIX, RESTORE_FP_SUFFIX): Only use _l on 64-bit targets.
* config/rs6000/darwin.h (GP_SAVE_INLINE): Define.
* config/rs6000/aix.h (GP_SAVE_INLINE): Define.
* config/rs6000/rs6000.md (*save_gpregs_<mode>): New insn.
(*save_fpregs_<mode>): Add use of r11.
(*restore_gpregs_<mode>): New insn.
(*return_and_restore_gpregs_<mode>): New insn.
(*return_and_restore_fpregs_<mode>): Adjust to clobber LR and
use r11.
* config/rs6000/spe.md (*save_gpregs_spe): New insn.
(*restore_gpregs_spe): New insn.
(*return_and_restore_gpregs_spe): New insn.
* config/rs6000/predicates.md (save_world_operation): Fix check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137160
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 26 Jun 2008 20:11:07 +0000 (20:11 +0000)]
* tree-into-ssa (insert_phi_nodes_for): 'var' must be a DECL at
this point, so assert that.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137159
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 26 Jun 2008 20:06:49 +0000 (20:06 +0000)]
* cfganal.c: Include vec.h and vecprim.h.
(compute_idf): Import from...
* tree-into-ssa (compute_idf): ...here.
* basic-block.h (compute_idf): Export.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137158
138bc75d-0d04-0410-961f-
82ee72b054a4
jwlemke [Thu, 26 Jun 2008 19:46:34 +0000 (19:46 +0000)]
Update my e-mail address for my new employer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137156
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 26 Jun 2008 17:57:43 +0000 (17:57 +0000)]
Clean up ChangeLog entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137153
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 26 Jun 2008 17:55:23 +0000 (17:55 +0000)]
2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algo.h (partition_copy): Add in C++0x mode.
* include/bits/algorithmfwd.h: Add.
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
* testsuite/25_algorithms/partition_copy/1.cc: New.
* testsuite/25_algorithms/partition_copy/check_type.cc: Likewise.
* testsuite/25_algorithms/partition_copy/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/partition_copy/requirements/
explicit_instantiation/pod.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137152
138bc75d-0d04-0410-961f-
82ee72b054a4
jye2 [Thu, 26 Jun 2008 17:46:21 +0000 (17:46 +0000)]
Add missing entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137151
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Thu, 26 Jun 2008 15:40:56 +0000 (15:40 +0000)]
* c-decl.c (merge_decls): Use !current_function_decl to check for
extern declaration of C99 inline function being at file scope.
testsuite:
* gcc.dg/inline-32.c, gcc.dg/inline-32a.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137149
138bc75d-0d04-0410-961f-
82ee72b054a4
froydnj [Thu, 26 Jun 2008 14:15:49 +0000 (14:15 +0000)]
* config/rs6000/t-ppccomm: Remove rules that conflict with
auto-generated rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137148
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 26 Jun 2008 11:36:02 +0000 (11:36 +0000)]
2008-06-26 Chris Fairles <chris.fairles@gmail.com>
* testsuite/20_util/unique_ptr/cons/pointer_array.cc: New.
* testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise.
* testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc:
Likewise.
* testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise.
* testsuite/20_util/unique_ptr/assign/move.cc: Likewise.
* testsuite/20_util/unique_ptr/specialized_algorithms/
comparisons_array.cc: Likewise.
* testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc:
Likewise
* testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137147
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 26 Jun 2008 10:45:31 +0000 (10:45 +0000)]
2008-06-26 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/base.h (plus, multiplies): Use __typeof__,
not typeof.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137145
138bc75d-0d04-0410-961f-
82ee72b054a4
sam [Thu, 26 Jun 2008 10:16:26 +0000 (10:16 +0000)]
2008-06-26 Chris Proctor <chrisp_42@bigpond.com>
gcc/ada/
* Makefile.in: Fix *86 kfreebsd target specific pairs.
gnattools/
* configure.ac, configure: Fix target specific pairs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137144
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Thu, 26 Jun 2008 06:31:16 +0000 (06:31 +0000)]
* testsuite/lib/target-supports.exp
(check_effective_target_vect_cmdline_needed): Add SPU to the list
of targets that do not need command line argument to enable SIMD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137142
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Thu, 26 Jun 2008 06:19:19 +0000 (06:19 +0000)]
* gcc.dg/vect/vect.exp: Run tests with -funroll-loops for SPU in case
of -O3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137141
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Thu, 26 Jun 2008 06:09:49 +0000 (06:09 +0000)]
PR target/36510
* gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Change the loop
bound.
* gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c,
gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137140
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 26 Jun 2008 00:41:59 +0000 (00:41 +0000)]
* config.gcc (hppa[12]*-*-hpux10*): Don't use fixproto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137138
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Jun 2008 00:28:15 +0000 (00:28 +0000)]
* alias.c (record_alias_subset, init_alias_analysis): Fix
-Wc++-compat and/or -Wcast-qual warnings.
* attribs.c (lookup_attribute_spec): Likewise.
* bb-reorder.c (find_traces, rotate_loop, find_traces_1_round,
copy_bb, connect_traces,
find_rarely_executed_basic_blocks_and_cr): Likewise.
* bt-load.c (find_btr_def_group, add_btr_def, new_btr_user,
note_btr_set, migrate_btr_defs): Likewise.
* builtins.c (result_vector, expand_builtin_memcpy,
expand_builtin_mempcpy_args, expand_builtin_strncpy,
builtin_memset_read_str, expand_builtin_printf,
fold_builtin_memchr, rewrite_call_expr, fold_builtin_printf):
Likewise.
* caller-save.c (mark_set_regs): Likewise.
* calls.c (expand_call, emit_library_call_value_1): Likewise.
* cgraph.c (cgraph_edge): Likewise.
* combine.c (likely_spilled_retval_1): Likewise.
* coverage.c (htab_counts_entry_hash, htab_counts_entry_eq,
htab_counts_entry_del, get_coverage_counts): Likewise.
* cselib.c (new_elt_list, new_elt_loc_list, entry_and_rtx_equal_p,
new_cselib_val): Likewise.
* dbgcnt.c (dbg_cnt_process_opt): Likewise.
* dbxout.c (dbxout_init, dbxout_type, output_used_types_helper):
Likewise.
* df-core.c (df_compact_blocks): Likewise.
* df-problems.c (df_grow_bb_info, df_chain_create): Likewise.
* df-scan.c (df_grow_reg_info, df_ref_create,
df_insn_create_insn_record, df_insn_rescan, df_notes_rescan,
df_ref_compare, df_ref_create_structure, df_bb_refs_record,
df_record_entry_block_defs, df_record_exit_block_uses,
df_bb_verify): Likewise.
* df.h (DF_REF_EXTRACT_WIDTH_CONST, DF_REF_EXTRACT_OFFSET_CONST,
DF_REF_EXTRACT_MODE_CONST): New.
* dominance.c (get_immediate_dominator, get_dominated_by,
nearest_common_dominator, root_of_dom_tree,
iterate_fix_dominators, first_dom_son, next_dom_son): Fix
-Wc++-compat and/or -Wcast-qual warnings.
* dse.c (clear_alias_set_lookup, get_group_info, gen_rtx_MEM,
record_store, replace_read, check_mem_read_rtx, scan_insn,
dse_step1, dse_record_singleton_alias_set): Likewise.
* dwarf2asm.c (dw2_force_const_mem): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137137
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Jun 2008 00:25:08 +0000 (00:25 +0000)]
* dwarf2out.c (new_cfi, queue_reg_save, dwarf2out_begin_prologue,
dwarf2out_frame_init, new_loc_descr, new_die, lookup_decl_die,
lookup_decl_loc, add_var_loc_to_decl, compute_section_prefix,
assign_symbol_names, htab_cu_hash, htab_cu_eq, htab_cu_del,
build_abbrev_table, new_loc_list, output_comp_unit, add_arange,
add_ranges_num, add_ranges_by_labels, file_info_cmp,
file_name_acquire, output_file_names, add_const_value_attribute,
premark_used_types_helper, file_table_eq, file_table_hash,
lookup_filename, dwarf2out_var_location, dwarf2out_source_line,
dwarf2out_init, file_table_relative_p): Fix -Wc++-compat and/or
-Wcast-qual warnings.
* ebitmap.c (ebitmap_array_grow, ebitmap_array_init,
ebitmap_alloc, ebitmap_ior, ebitmap_and_compl): Likewise.
* emit-rtl.c (get_mem_attrs, get_reg_attrs, gen_rtvec,
gen_reg_rtx, start_sequence, init_emit): Likewise.
* et-forest.c (et_new_occ, et_new_tree): Likewise.
* except.c (init_eh_for_function, gen_eh_region,
remove_unreachable_regions, add_ehl_entry, duplicate_eh_regions_1,
arh_to_landing_pad, arh_to_label, add_action_record,
add_call_site, switch_to_exception_section): Likewise.
* expmed.c (synth_mult): Likewise.
* expr.c (gen_group_rtx, emit_group_load, emit_group_store,
store_expr): Likewise.
* final.c (shorten_branches, final_scan_insn, debug_queue_symbol):
Likewise.
* function.c (assign_stack_temp_for_type,
allocate_struct_function, match_asm_constraints_1): Likewise.
* gcov-io.c (gcov_allocate): Likewise.
* gcse.c (GNEW, GCNEW, GNEWVEC, GCNEWVEC, GRESIZEVEC, GNEWVAR,
GCNEWVAR, GRESIZEVAR, GOBNEW, GOBNEWVAR): New.
(gcse_main, alloc_gcse_mem, alloc_gcse_mem, alloc_reg_set_mem,
record_one_set, insert_expr_in_table, insert_set_in_table,
dump_hash_table, compute_hash_table_work, alloc_hash_table,
pre_ldst_expr_hash, pre_ldst_expr_eq, find_rtx_in_ldst,
reg_set_info, reg_clear_last_set): Fix -Wc++-compat and/or
-Wcast-qual warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137136
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Jun 2008 00:22:12 +0000 (00:22 +0000)]
* cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or
-Wcast-qual warnings.
* gcc.c (process_command): Likewise.
* genattrtab.c (oballoc): Use XOBNEW.
(oballocvec): Define.
(attr_hash_add_rtx, attr_hash_add_string, attr_string,
get_attr_value, fill_attr, make_length_attrs, gen_attr, gen_insn,
gen_delay, find_attr, gen_insn_reserv, gen_bypass_1): Fix
-Wc++-compat and/or -Wcast-qual warnings.
* genautomata.c (XCREATENODE, XCREATENODEVEC, XCREATENODEVAR,
XCOPYNODE, XCOPYNODEVEC, XCOPYNODEVAR): New.
(gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
gen_presence_absence_set, gen_automaton, gen_regexp_el,
gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
gen_regexp_sequence, gen_reserv, gen_insn_reserv, process_excls,
add_excls, process_presence_absence_names,
process_presence_absence_patterns, add_presence_absence,
process_regexp, add_advance_cycle_insn_decl, get_free_alt_state,
get_free_state, add_arc, get_free_automata_list_el,
form_reserv_sets_list, copy_insn_regexp, transform_1, transform_2,
transform_3, cache_presence, create_ainsns, create_automata,
create_state_ainsn_table, dfa_insn_code_enlarge,
output_trans_func, output_min_issue_delay_func,
output_dead_lock_func, output_reset_func,
output_get_cpu_unit_code_func, output_dfa_start_func,
expand_automata): Likewise.
* genextract.c (gen_insn): Likewise.
* gengtype-lex.l: Likewise.
* gengtype.c (read_input_list, adjust_field_type,
process_gc_options): Likewise.
* genoutput.c (note_constraint): Likewise.
* genpreds.c (mangle, add_constraint): Likewise.
* genrecog.c (process_define_predicate, new_decision,
add_to_sequence): Likewise.
* gensupport.c (record_insn_name): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137135
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Jun 2008 00:18:25 +0000 (00:18 +0000)]
* config/i386/driver-i386.c (detect_caches_amd,
detect_caches_intel, host_detect_local_cpu): Fix -Wc++-compat
and/or -Wcast-qual warnings.
*ggc-common.c (ggc_mark_roots, gt_pch_note_object,
gt_pch_note_reorder, relocate_ptrs, write_pch_globals,
gt_pch_save): Likewise.
* ggc-page.c (push_depth, push_by_depth, alloc_anon, alloc_page,
gt_ggc_m_S, clear_marks, ggc_pch_read): Likewise.
* global.c (compute_regsets): Likewise.
* graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
finish_graph_dump_file): Likewise.
* haifa-sched.c (schedule_block, extend_h_i_d, extend_ready,
unlink_bb_notes): Likewise.
* integrate.c (get_hard_reg_initial_val): Likewise.
* ipa-prop.c (ipa_push_func_to_list): Likewise.
* ipa-struct-reorg.c (gen_var_name, gen_cluster_name): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop-invariant.c (check_invariant_table_size,
hash_invariant_expr, eq_invariant_expr, find_or_insert_inv):
Likewise.
* loop-iv.c (check_iv_ref_table_size, analyzed_for_bivness_p,
altered_reg_used, mark_altered): Likewise.
* loop-unroll.c (si_info_eq, ve_info_eq, allocate_basic_variable,
insert_var_expansion_initialization,
combine_var_copies_in_loop_exit, apply_opt_in_copies,
release_var_copies): Likewise.
* matrix-reorg.c (mat_acc_phi_hash, mat_acc_phi_eq, mtt_info_eq,
analyze_matrix_decl, add_allocation_site, analyze_transpose,
analyze_accesses_for_phi_node, check_var_notmodified_p,
check_allocation_function, find_sites_in_func,
record_all_accesses_in_func, transform_access_sites,
transform_allocation_sites): Likewise.
* omp-low.c (new_omp_region, create_omp_child_function_name,
check_omp_nesting_restrictions, check_combined_parallel,
lower_omp_2, diagnose_sb_1, diagnose_sb_2): Likewise.
* optabs.c (no_conflict_move_test, gen_libfunc, gen_fp_libfunc,
gen_intv_fp_libfunc, gen_interclass_conv_libfunc,
gen_intraclass_conv_libfunc, set_optab_libfunc, set_conv_libfunc):
Likewise.
* opts-common.c (prune_options): Likewise.
* opts.c (add_input_filename, print_filtered_help,
get_option_state): Likewise.
* params.c (add_params): Likewise.
* passes.c (set_pass_for_id, next_pass_1,
do_per_function_toporder, pass_fini_dump_file): Likewise.
* postreload.c (reload_cse_simplify_operands): Likewise.
* predict.c (tree_predicted_by_p, tree_predict_edge,
clear_bb_predictions, combine_predictions_for_bb): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137134
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 26 Jun 2008 00:17:37 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137132
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 26 Jun 2008 00:12:56 +0000 (00:12 +0000)]
* ra.h (add_neighbor): Fix -Wc++-compat and/or -Wcast-qual
warnings.
* recog.c (check_asm_operands, validate_change_1): Likewise.
* reg-stack.c (check_asm_stack_operands, subst_asm_stack_regs,
subst_asm_stack_regs): Likewise.
* regclass.c (regclass, som_hash, som_eq, record_subregs_of_mode,
cannot_change_mode_set_regs, invalid_mode_change_p): Likewise.
* regmove.c (reg_is_remote_constant_p): Likewise.
* regrename.c (regrename_optimize, scan_rtx_reg,
kill_clobbered_value, kill_set_value, kill_autoinc_value):
Likewise.
* regstat.c (regstat_init_n_sets_and_refs, regstat_compute_ri,
regstat_compute_calls_crossed): Likewise.
* reload1.c (init_reload, new_insn_chain,
has_nonexceptional_receiver, reload, copy_reloads,
calculate_needs_all_insns, init_elim_table): Likewise.
* rtl-factoring.c (compute_rtx_cost, fill_hash_bucket): Likewise.
* rtl.c (shallow_copy_rtx_stat): Likewise.
* rtlanal.c (parms_set): Likewise.
* sbitmap.c (sbitmap_alloc, sbitmap_alloc_with_popcount,
sbitmap_resize, sbitmap_vector_alloc): Likewise.
* sched-ebb.c (earliest_block_with_similiar_load,
add_deps_for_risky_insns): Likewise.
* sched-rgn.c (find_rgns, gather_region_statistics, extend_rgns,
schedule_region): Likewise.
* see.c (eq_descriptor_pre_extension,
hash_descriptor_pre_extension, hash_del_pre_extension,
eq_descriptor_properties, hash_descriptor_properties,
hash_del_properties, see_seek_pre_extension_expr,
see_initialize_data_structures, see_print_register_properties,
see_print_pre_extension_expr, see_delete_merged_def_extension,
see_delete_unmerged_def_extension, see_emit_use_extension,
see_pre_delete_extension, see_map_extension, see_commit_changes,
see_analyze_merged_def_local_prop,
see_analyze_merged_def_local_prop,
see_analyze_unmerged_def_local_prop, see_analyze_use_local_prop,
see_set_prop_merged_def, see_set_prop_unmerged_def,
see_set_prop_unmerged_use, see_print_one_extension,
see_merge_one_use_extension, see_merge_one_def_extension,
see_store_reference_and_extension, see_update_uses_relevancy,
see_update_defs_relevancy): Likewise.
* statistics.c (hash_statistics_hash, hash_statistics_eq,
hash_statistics_free, curr_statistics_hash): Likewise.
* stmt.c (parse_output_constraint, decl_overlaps_hard_reg_set_p,
expand_asm_operands, expand_return, case_bit_test_cmp,
expand_case): Likewise.
* stor-layout.c (start_record_layout): Likewise.
* stringpool.c (ggc_alloc_string, gt_pch_n_S,
gt_pch_save_stringpool): Likewise.
* tree-data-ref.c (hash_stmt_vertex_info,
have_similar_memory_accesses_1, ref_base_address_1): Likewise.
* tree-ssa-phiopt.c (name_to_bb_hash): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137128
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 25 Jun 2008 23:28:14 +0000 (23:28 +0000)]
2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/29_atomics/atomic_flag/cons/default.cc: Avoid -Wall
warnings.
* testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Likewise.
* testsuite/29_atomics/headers/cstdatomic/types_std_c++0x.cc:
Likewise.
* testsuite/29_atomics/headers/stdatomic.h/types.c: Likewise.
* testsuite/util/testsuite_common_types.h (struct assignable,
struct default_constructible, struct copy_constructible,
struct explicit_value_constructible): Use a tad of simulated
concept checking techniques to avoid spurious warnings.
* testsuite/29_atomics/atomic/cons/assign_neg.cc: Adjust dg-error
markers.
* testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137127
138bc75d-0d04-0410-961f-
82ee72b054a4
jye2 [Wed, 25 Jun 2008 23:26:53 +0000 (23:26 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137126
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Wed, 25 Jun 2008 23:04:33 +0000 (23:04 +0000)]
2008-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36526
* interface.c (check_intents): Correct error where the actual
arg was checked for a pointer argument, rather than the formal.
2008-06-25 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36526
* gfortran.dg/proc_formal_proc_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137125
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 25 Jun 2008 21:06:20 +0000 (21:06 +0000)]
PR target/36627
* config/i386/i386.md : Change constraints of HImode and QImode
immediate operands from "i" to "n". Change SImode "ni" constraint to
"i" and SImode "rmi" constraint to "g". Remove all constraints
from const0_operand and const1_operand predicated operands.
(i): Change QImode and HImode attribute from "i" to "n".
(*subqi_2): Change HImode operands to QImode.
(*subqi_3): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137122
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 25 Jun 2008 16:39:15 +0000 (16:39 +0000)]
2008-06-25 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algo.h (__find_if_not, find_if_not, all_of,
any_of, none_of): Add in C++0x, per N2666.
* include/bits/algorithmfwd.h: Update.
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
* testsuite/25_algorithms/all_of/check_type.cc: New.
* testsuite/25_algorithms/all_of/1.cc: Likewise.
* testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/25_algorithms/all_of/requirements/explicit_instantiation/
pod.cc: Likewise.
* testsuite/25_algorithms/any_of/check_type.cc: Likewise.
* testsuite/25_algorithms/any_of/1.cc: Likewise.
* testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/25_algorithms/any_of/requirements/explicit_instantiation/
pod.cc: Likewise.
* testsuite/25_algorithms/none_of/check_type.cc: Likewise.
* testsuite/25_algorithms/none_of/1.cc: Likewise.
* testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/25_algorithms/none_of/requirements/explicit_instantiation/
pod.cc: Likewise.
* testsuite/25_algorithms/find_if_not/check_type.cc: Likewise.
* testsuite/25_algorithms/find_if_not/1.cc: Likewise.
* testsuite/25_algorithms/find_if_not/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/find_if_not/requirements/
explicit_instantiation/pod.cc: Likewise.
* testsuite/25_algorithms/copy_if/check_type.cc: Likewise.
* testsuite/25_algorithms/remove_copy_if/check_type.cc: Likewise.
* testsuite/25_algorithms/find_if/1.cc: Minor tweaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137118
138bc75d-0d04-0410-961f-
82ee72b054a4
sam [Wed, 25 Jun 2008 12:55:54 +0000 (12:55 +0000)]
gcc/ada/
* Makefile.in: Use mlib-tgt-specific-linux.adb for sh4 as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137108
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Wed, 25 Jun 2008 12:55:17 +0000 (12:55 +0000)]
2008-06-25 Olivier Hainque <hainque@adacore.com>
* Makefile.in (GTFILES_H): Use | instead of ; as separator in
sed substitutions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137107
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 25 Jun 2008 11:13:44 +0000 (11:13 +0000)]
2008-06-25 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (fieldoff_compare): Make sure to
not overflow the result type.
* gcc.c-torture/compile/
20080625-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137104
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 25 Jun 2008 09:58:09 +0000 (09:58 +0000)]
2008-06-25 Richard Guenther <rguenther@suse.de>
* tree-vn.c (vn_add): Handle TRUTH_*_EXPR.
(vn_lookup): Likewise.
* g++.dg/torture/
20080625-1.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137102
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 25 Jun 2008 08:41:14 +0000 (08:41 +0000)]
2008-06-25 Richard Guenther <rguenther@suse.de>
PR tree-optimization/35518
* fold-const.c (fold_ternary): Strip trivial BIT_FIELD_REFs.
* tree-sra.c (instantiate_element): Use fold_build3 to build
BIT_FIELD_REFs.
(try_instantiate_multiple_fields): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137100
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 25 Jun 2008 02:25:58 +0000 (02:25 +0000)]
2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/rs6000/rs6000.md: Change all string instruction's clobber to
be early clobbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137098
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 25 Jun 2008 02:24:24 +0000 (02:24 +0000)]
2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Set
use_backchain_to_restore_sp to true
if the offset of the link register save area would go over the 32k - 1
offset limit of the load
instructions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137097
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 25 Jun 2008 01:36:58 +0000 (01:36 +0000)]
* doc/invoke.texi (Optimize Options) <fstrict-aliasing>: Add
anchor for the type-punning blurb. Cross-reference "Structures
unions enumerations and bit-fields implementation". Provide a
cast-through-pointer example. Make final sentence self-contained.
* doc/implement-c.texi (Structures unions enumerations and
bit-fields implementation): Cross-reference the type-punning blurb
in the -fstrict-aliasing documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137095
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 25 Jun 2008 00:17:25 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137093
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 24 Jun 2008 22:42:10 +0000 (22:42 +0000)]
2008-06-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/36594
* builtins.c (expand_builtin_nonlocal_goto): Stabilize the address of
the memory instead of the memory itself for the save area.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137089
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 24 Jun 2008 21:44:28 +0000 (21:44 +0000)]
2008-06-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34371
* expr.c (gfc_check_assign): Change message and locus for
error when conform == 0.
2008-06-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36371
* gfortran.dg/data_array_5.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137088
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 24 Jun 2008 20:44:04 +0000 (20:44 +0000)]
PR c++/23194
* typeck.c (cp_build_function_call): Show example syntax in
diagnostic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137086
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 24 Jun 2008 18:34:52 +0000 (18:34 +0000)]
2008-06-24 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/manual/parallel_mode.xml: Clarify use of explicit
parallel algorithms.
* doc/xml/manual/using.xml: Markup fixes caught by validation check.
* doc/xml/manual/test.xml: Remove empty para tags.
* doc/html/*: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137085
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 24 Jun 2008 18:31:49 +0000 (18:31 +0000)]
PR libgcj/32198:
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java
(compile): Reverse isAssignableFrom test.
* tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class:
Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137084
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 24 Jun 2008 18:15:36 +0000 (18:15 +0000)]
* utils2.c (known_alignment): Derive the alignment from pointed-to
types only if it is otherwise unknown.
<INTEGER_CST>: Tidy.
<MULT_EXPR>: Likewise.
<POINTER_PLUS_EXPR>: If the alignment of the offset is unknown, use
that of the base.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137081
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 24 Jun 2008 18:02:36 +0000 (18:02 +0000)]
2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algo.h (remove_if): Cast __pred result to bool.
(copy_if): Add, per N2666.
* testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
2.cc: New.
* testsuite/25_algorithms/copy_if/requirements/explicit_instantiation/
pod.cc: Likewise.
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137080
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 24 Jun 2008 16:31:06 +0000 (16:31 +0000)]
2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/36616
* testsuite/22_locale/money_put/put/char/9780-3.cc: Fix expected
results for recent glibcs (2.8 and later).
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137073
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 24 Jun 2008 13:30:55 +0000 (13:30 +0000)]
2008-06-11 Andrew Haley <aph@redhat.com>
* native/jawt/Makefile.am,
native/fdlibm/Makefile.am,
native/jni/java-util/Makefile.am,
native/jni/gstreamer-peer/Makefile.am,
native/jni/native-lib/Makefile.am,
native/jni/gconf-peer/Makefile.am,
native/jni/gtk-peer/Makefile.am,
native/jni/xmlj/Makefile.am,
native/jni/midi-alsa/Makefile.am,
native/jni/java-nio/Makefile.am,
native/jni/midi-dssi/Makefile.am,
native/jni/classpath/Makefile.am,
native/jni/java-io/Makefile.am,
native/jni/java-lang/Makefile.am,
native/jni/java-net/Makefile.am (AM_CFLAGS): Add @EXTRA_CFLAGS@.
* configure.ac (EXTRA_CFLAGS): New macro.
* lib/Makefile.am (resources): Add .svn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137072
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Tue, 24 Jun 2008 13:01:11 +0000 (13:01 +0000)]
2008-06-24 Olivier Hainque <hainque@adacore.com>
Nicolas Roche <roche@adacore.com>
* gengtype.c (srcdir_len): size_t instead of int.
(get_file_realbasename): New function. For F a filename, the real
basename of F, with all the path components stripped.
(get_file_srcdir_relative_path): New function. For F a filename, the
relative path to F from $(srcdir).
(get_file_basename): Rewrite using get_file_srcdir_relative_path and
get_file_realbasename. Adjust the head comment.
(get_prefix_langdir_index): New function. For F a filename, return the
lang_dir_names[] relative index of the language directory that is
a prefix in F.
(get_file_langdir): For F a filename, return the name of the language
directory where F is located.
(get_file_gtfilename): New function. The gt- output file name for an
input filename F.
(get_output_file_with_visibility): Replace in-line computations with
uses of get_file_gtfilename and get_prefix_langdir_index.
* Makefile.in (GTFILES_H): Adjust to match what gengtype generates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137070
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 24 Jun 2008 12:46:59 +0000 (12:46 +0000)]
* jcf-path.c (jcf_path_init): Don't name variable 'try'.
* expr.c (add_type_assertion): Rename argument.
(build_java_arrayaccess): Don't name variable 'throw'.
(ARRAY_NEW_MULTI): Don't name variable 'class'.
* jcf-io.c (find_class): Don't name variable 'class'.
* mangle.c (compression_table_add): Don't name variable 'new'.
* constants.c (cpool_for_class): Rename argument.
(alloc_constant_fieldref): Likewise.
* jcf-parse.c (handle_innerclass_attribute): Don't name variable
'class'.
(read_class): Likewise.
(parse_zip_file_entries): Likewise.
(process_zip_dir): Likewise.
* decl.c (java_mark_class_local): Rename argument.
* class.c (GEN_TABLE): Use type_name, not typename.
(gen_indirect_dispatch_tables): Likewise.
(add_field): Rename argument.
(is_compiled_class): Likewise.
(safe_layout_class): Likewise.
(emit_assertion_table): Likewise.
* typeck.c (has_method): Rename argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137069
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 24 Jun 2008 12:11:23 +0000 (12:11 +0000)]
2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
* Add PR # to last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137067
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 24 Jun 2008 12:04:13 +0000 (12:04 +0000)]
2008-06-24 Paolo Carlini <paolo.carlini@oracle.com>
Chalathip Thumkanon <chalathip@gmail.com>
* include/ext/pb_ds/exception.hpp (__throw_container_error,
__throw_insert_error, __throw_join_error, __throw_resize_error):
Mark inline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137065
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 24 Jun 2008 10:06:17 +0000 (10:06 +0000)]
PR tree-optimization/36504
* tree-ssa-loop-prefetch.c (gather_memory_references_ref): Skip
references without base address.
* gcc.dg/pr36504.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137061
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 24 Jun 2008 01:42:31 +0000 (01:42 +0000)]
* libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137058
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 24 Jun 2008 00:17:22 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137056
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 23 Jun 2008 17:31:12 +0000 (17:31 +0000)]
PR middle-end/PR36584
* calls.c (expand_call): Increase alignment for recursive functions.
testsuite/ChangeLog:
PR middle-end/PR36584
* testsuite/gcc.dg/pr36584.c: New test.
* testsuite/gcc.target/i386/local2.c: Remove invalid test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137045
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Mon, 23 Jun 2008 15:27:00 +0000 (15:27 +0000)]
* config/avr/avr.c (avr_function_value): Add new 'outgoing' argument.
(TARGET_FUNCTION_VALUE): New define.
* config/avr/avr-protos.h (avr_function_value): Remove declaration.
* config/avr/avr.h (FUNCTION_VALUE): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137042
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 23 Jun 2008 14:04:33 +0000 (14:04 +0000)]
* config/i386/i386.md (fmodxf3): Change sequence of move instructions.
(fmod<mode>3): Ditto.
(remainderxf3): Ditto.
(remainder<mode>3): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137040
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 23 Jun 2008 13:06:15 +0000 (13:06 +0000)]
PR target/36533
* emit-rtl.c (set_reg_attrs_from_value): Do nothing if
REG is a hard register.
* gcc.target/i386/pr36533.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137038
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 23 Jun 2008 11:51:34 +0000 (11:51 +0000)]
PR tree-optimization/36508
* tree-ssa-pre.c (compute_antic): Allow num_iterations up to
499, don't check it at all in release compilers.
* gcc.dg/pr36508.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137036
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 23 Jun 2008 11:23:37 +0000 (11:23 +0000)]
* config/i386/i386.md (*fop_<MODEF:mode>_2_i387): Fix a typo.
(*fop_<MODEF:mode>_3_i387): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137035
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 23 Jun 2008 10:20:33 +0000 (10:20 +0000)]
PR fortran/36597
* cpp.c (cpp_define_builtins): Change _OPENMP value to 200805.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137034
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 23 Jun 2008 07:06:35 +0000 (07:06 +0000)]
* config/i386/i386.md (*fop_<mode>_1_i387): Use SSE_FLOAT_MODE_P
together with SSE_TARGET_MATH to disable insn pattern.
(*fop_<MODEF:mode>_2_i387): Ditto.
(*fop_<MODEF:mode>_3_i387): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137032
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 23 Jun 2008 00:17:17 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137029
138bc75d-0d04-0410-961f-
82ee72b054a4
hutchinsonandy [Sun, 22 Jun 2008 18:39:36 +0000 (18:39 +0000)]
* config/avr/avr.h (SUPPORTS_INIT_PRIORITY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137021
138bc75d-0d04-0410-961f-
82ee72b054a4
lauras [Sun, 22 Jun 2008 15:28:04 +0000 (15:28 +0000)]
2008-06-22 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR middle-end/34906
* gimplify.c (gimplify_asm_expr): Check the return code of
parse_output_constraint call, set function return and is_inout
value if it failed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137020
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 22 Jun 2008 14:56:08 +0000 (14:56 +0000)]
* c-lex.c (narrowest_unsigned_type): Change itk to int.
(narrowest_signed_type): Likewise.
* c-typeck.c (c_common_type): Change local variable mclass to enum
mode_class, twice.
(parser_build_binary_op): Compare the TREE_CODE_CLASS with
tcc_comparison, not the tree code itself.
* c-common.c (def_fn_type): Pass int, not an enum, to va_arg.
(c_expand_expr): Cast modifier to enum expand_modifier.
* c-common.h (C_RID_CODE): Add casts.
(C_SET_RID_CODE): Define.
* c-parser.c (c_parse_init): Use C_SET_RID_CODE.
(c_lex_one_token): Add cast to avoid warning.
(c_parser_objc_type_name): Rename local typename to type_name.
(check_no_duplicate_clause): Change code parameter to enum
omp_clause_code.
(c_parser_omp_var_list_parens): Change kind parameter to enum
omp_clause_code.
(c_parser_omp_flush): Pass OMP_CLAUSE_ERROR, not 0, to
c_parser_omp_list_var_parens.
(c_parser_omp_threadprivate): Likewise.
* cp/lex.c (init_reswords): Use C_SET_RID_CODE.
* cp/parser.c (cp_lexer_get_preprocessor_token): Likewise.
* c-format.c (NO_FMT): Define.
(printf_length_specs): Use NO_FMT.
(asm_fprintf_length_specs): Likewise.
(gcc_diag_length_specs): Likewise.
(scanf_length_specs): Likewise.
(strfmon_length_specs): Likewise.
(gcc_gfc_length_specs): Likewise.
(printf_flag_specs): Change 0 to STD_C89.
(asm_fprintf_flag_specs): Likewise.
(gcc_diag_flag_specs): Likewise.
(gcc_cxxdiag_flag_specs): Likewise.
(scanf_flag_specs): Likewise.
(strftime_flag_specs): Likewise.
(strfmon_flag_specs): Likewise.
(print_char_table): Likewise.
(asm_fprintf_char_table): Likewise.
(gcc_diag_char_table): Likewise.
(gcc_tdiag_char_table): Likewise.
(gcc_cdiag_char_table): Likewise.
(gcc_cxxdiag_char_table): Likewise.
(gcc_gfc_char_table): Likewise.
(scan_char_table): Likewise.
(time_char_table): Likewis.
(monetary_char_table): Likewise.
* c-format.h (BADLEN): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137019
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 22 Jun 2008 13:57:06 +0000 (13:57 +0000)]
2008-06-22 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
per DR 809.
* include/bits/algorithmfwd.h: Add.
* doc/xml/manual/intro.xml: Add an entry for DR 809.
* testsuite/25_algorithms/swap/dr809.cc: New.
* testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2.cc: Remove stray empty line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137012
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 22 Jun 2008 00:17:26 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137010
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 21 Jun 2008 21:17:40 +0000 (21:17 +0000)]
* tree.h (enum tree_code): Include all-tree.def, not tree.def.
Define END_OF_BASE_TREE_CODES around inclusion.
* tree.c (tree_code_type): New global array.
(tree_code_length, tree_code_name): Likewise.
* Makefile.in (TREE_H): Add all-tree.def, c-common.def, and
$(lang_tree_files).
(all-tree.def, s-alltree): New targets.
(gencheck.h, s-gencheck): Remove.
(tree.o): Depend upon all-tree.def.
(build/gencheck.o): Remove gencheck.h dependency.
(mostlyclean): Don't remove gencheck.h.
* c-common.h (enum c_tree_code): Remove.
* c-lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* gencheck.c (tree_codes): Include all-tree.def, rather than
tree.def, c-common.def, and gencheck.h. Undefined DEFTREECODE
after it is used.
* tree-browser.c (tb_tree_codes): Include all-tree.def, rather
than tree.def.
* cp/cp-tree.h (enum cplus_tree_code): Remove.
(operator_name_info): Size to MAX_TREE_CODES.
(assignment_operator_name_info): Likewise.
* cp/cp-lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* cp/lex.c (operator_name_info): Size to MAX_TREE_CODES.
(assignment_operator_name_info): Likewise.
* cp/decl.c (grok_op_properties): Change LAST_CPLUS_TREE_CODE to
MAX_TREE_CODES.
* cp/mangle.c (write_expression): Likewise.
* cp/Make-lang.in (CXX_TREE_H): Remove cp/cp-tree.def.
* fortran/f95-lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* java/java-tree.h (enum java_tree_code): Remove.
* java/lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* java/Make-lang.in (JAVA_TREE_H): Remove java/java-tree.def.
* objc/objc-act.h (enum objc_tree_code): Remove.
* objc/objc-lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* objcp/objcp-lang.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
* ada/ada-tree.h (enum gnat_tree_code): Remove.
* ada/Make-lang.in (ADA_TREE_H): Remove ada/ada-tre.def.
* ada/misc.c (tree_code_type): Remove.
(tree_code_length, tree_code_name): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137006
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 21 Jun 2008 17:19:11 +0000 (17:19 +0000)]
2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_move.h: Rename to move.h.
* include/std/utility: Adjust.
* include/ext/vstring_util.h: Likewise.
* include/ext/throw_allocator.h: Likewise.
* include/ext/pool_allocator.h: Likewise.
* include/ext/bitmap_allocator.h: Likewise.
* include/ext/new_allocator.h: Likewise.
* include/ext/malloc_allocator.h: Likewise.
* include/ext/array_allocator.h: Likewise.
* include/ext/mt_allocator.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* testsuite/util/testsuite_allocator.h: Likewise.
* testsuite/util/testsuite_iterators.h: Likewise.
* include/Makefile.am: Likewise.
* include/Makefile.in: Regenerate.
2008-06-21 Chris Fairles <chris.fairles@gmail.com>
* include/bits/unique_ptr.h: New.
* include/std/memory: Adjust.
* include/Makefile.am: Add.
* testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
explicit_instantiation.cc: New.
* testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
* include/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137004
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 21 Jun 2008 16:55:17 +0000 (16:55 +0000)]
2008-06-21 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_move.h: Rename to move.h.
* include/std/utility: Adjust.
* include/ext/vstring_util.h: Likewise.
* include/ext/throw_allocator.h: Likewise.
* include/ext/pool_allocator.h: Likewise.
* include/ext/bitmap_allocator.h: Likewise.
* include/ext/new_allocator.h: Likewise.
* include/ext/malloc_allocator.h: Likewise.
* include/ext/array_allocator.h: Likewise.
* include/ext/mt_allocator.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* testsuite/util/testsuite_allocator.h: Likewise.
* testsuite/util/testsuite_iterators.h: Likewise.
* include/Makefile.am: Likewise.
* include/Makefile.in: Regenerate.
2008-06-21 Chris Fairles <chris.fairles@gmail.com>
* include/bits/unique_ptr.h: New.
* include/std/memory: Adjust.
* include/Makefile.am: Add.
* testsuite/20_util/unique_ptr/requirements/explicit_instantiation/
explicit_instantiation.cc: New.
* testsuite/20_util/unique_ptr/assign/assign.cc: Likewise.
* include/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137003
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sat, 21 Jun 2008 16:04:40 +0000 (16:04 +0000)]
* include/c_global/climits, include/tr1/climits: Add parentheses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137002
138bc75d-0d04-0410-961f-
82ee72b054a4
aldot [Sat, 21 Jun 2008 11:29:55 +0000 (11:29 +0000)]
2008-06-21 Bernhard Fischer <aldot@gcc.gnu.org>
* tree-ssa-pre.c (fini_antic): Bitmap_sets have to be freed before
the grand_bitmap_obstack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137000
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Sat, 21 Jun 2008 10:36:27 +0000 (10:36 +0000)]
* typeck.c (composite_pointer_type_r, cxx_sizeof_expr,
cxx_alignof_expr, check_template_keyword, cp_build_binary_op,
pointer_diff, cp_build_unary_op, build_x_compound_expr_from_list,
build_reinterpret_cast_1, cp_build_c_cast, check_return_expr): Change
pedwarn to permerror.
* init.c (perform_member_init, build_new_1, build_new): Likewise.
* decl.c (warn_extern_redeclared_static, duplicate_decls,
* identify_goto, check_previous_goto_1, check_goto, define_label,
check_tag_decl, start_decl, check_class_member_definition_namespace,
grokfndecl, grokdeclarator): Likewise.
* except.c (check_handlers): Likewise.
* typeck2.c (digest_init): Likewise.
* pt.c (check_specialization_namespace,
check_explicit_instantiation_namespace,
maybe_process_partial_specialization, check_explicit_specialization,
convert_template_argument, do_decl_instantiation,
do_type_instantiation, instantiate_decl): Likewise.
* semantics.c (finish_template_type_parm): Likewise.
* name-lookup.c (pushdecl_maybe_friend,
check_for_out_of_scope_variable): Likewise.
* decl2.c (finish_static_data_member_decl, build_anon_union_vars,
coerce_new_type): Likewise.
* parser.c (cp_parser_nested_name_specifier_opt,
cp_parser_mem_initializer, cp_parser_elaborated_type_specifier,
cp_parser_class_head, cp_parser_check_class_key): Likewise.
(cp_parser_parameter_declaration): Check flag_permissive instead of
flag_pedantic_errors.
* call.c (joust): Change pedwarn to warning.
* friend.c (make_friend_class): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136999
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Jun 2008 00:17:16 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136997
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 20 Jun 2008 20:55:02 +0000 (20:55 +0000)]
* gcc.dg/inline-31.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136993
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 20 Jun 2008 18:34:07 +0000 (18:34 +0000)]
* ggc.h (GGC_RESIZEVAR): New, reorder macros.
* tracer.c (tail_duplicate): Fix for -Wc++-compat.
* tree-affine.c (aff_combination_expand, free_name_expansion):
Likewise.
* tree-cfg.c (replace_by_duplicate_decl, replace_ssa_name,
move_stmt_r, new_label_mapper): Likewise.
* tree-complex.c (cvc_lookup): Likewise.
* tree-dfa.c (create_function_ann): Likewise.
* tree-dump.c (dump_register): Likewise.
* tree-if-conv.c (tree_if_conversion, add_to_predicate_list,
find_phi_replacement_condition): Likewise.
* tree-inline.c (copy_phis_for_bb, estimate_num_insns_1,
tree_function_versioning): Likewise.
* tree-into-ssa.c (cmp_dfsnum): Likewise.
* tree-iterator.c (tsi_link_before, tsi_link_after): Likewise.
* tree-nested.c (lookup_field_for_decl, lookup_tramp_for_decl,
get_nonlocal_debug_decl, convert_nonlocal_reference,
convert_nonlocal_omp_clauses, get_local_debug_decl,
convert_local_reference, convert_local_omp_clauses,
convert_nl_goto_reference, convert_nl_goto_receiver,
convert_tramp_reference, convert_call_expr): Likewise.
* tree-outof-ssa.c (contains_tree_r): Likewise.
* tree-parloops.c (reduction_phi, initialize_reductions,
eliminate_local_variables_1, add_field_for_reduction,
add_field_for_name, create_phi_for_local_result,
create_call_for_reduction_1, create_loads_for_reductions,
create_stores_for_reduction, create_loads_and_stores_for_name):
Likewise.
* tree-phinodes.c (allocate_phi_node): Likewise.
* tree-predcom.c (order_drefs, execute_pred_commoning_cbck):
Likewise.
* tree-sra.c (sra_elt_hash, sra_elt_eq, lookup_element):
Likewise.
* tree-ssa-alias.c (get_mem_sym_stats_for): Likewise.
* tree-ssa-coalesce.c (compare_pairs): Likewise.
* tree-ssa-loop-im.c (mem_ref_in_stmt, memref_hash, memref_eq,
memref_free, gather_mem_refs_stmt, vtoe_hash, vtoe_eq, vtoe_free,
record_vop_access, get_vop_accesses, get_vop_stores): Likewise.
* tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise.
* tree-ssa-sccvn.c (VN_INFO_GET, free_phi, free_reference,
vn_nary_op_insert): Likewise.
* tree-ssa.c (redirect_edge_var_map_add,
redirect_edge_var_map_clear, redirect_edge_var_map_dup): Likewise.
* tree-vectorizer.c (vectorize_loops): Likewise.
* tree.c (make_node_stat, copy_node_stat, build_int_cst_wide,
build_fixed, build_real, make_tree_binfo_stat, make_tree_vec_stat,
tree_cons_stat, build1_stat, build_variant_type_copy,
decl_init_priority_lookup, decl_fini_priority_lookup,
decl_priority_info, decl_restrict_base_lookup,
decl_restrict_base_insert, decl_debug_expr_lookup,
decl_debug_expr_insert, decl_value_expr_lookup,
decl_value_expr_insert, type_hash_eq, type_hash_lookup,
type_hash_add, get_file_function_name, tree_check_failed,
tree_not_check_failed, tree_range_check_failed,
omp_clause_range_check_failed, build_omp_clause,
build_vl_exp_stat): Likewise.
* value-prof.c (gimple_histogram_value,
gimple_duplicate_stmt_histograms): Likewise.
* var-tracking.c (attrs_list_insert, attrs_list_copy,
unshare_variable, variable_union_info_cmp_pos, variable_union,
dataflow_set_different_1, dataflow_set_different_2,
vt_find_locations, variable_was_changed, set_variable_part,
emit_notes_for_differences_1, emit_notes_for_differences_2):
Likewise.
* varasm.c (prefix_name, emutls_decl, section_entry_eq,
section_entry_hash, object_block_entry_eq,
object_block_entry_hash, create_block_symbol,
initialize_cold_section_name, default_function_rodata_section,
strip_reg_name, set_user_assembler_name, const_desc_eq,
build_constant_desc, output_constant_def, lookup_constant_def,
const_desc_rtx_hash, const_desc_rtx_eq, const_rtx_hash_1,
create_constant_pool, force_const_mem, compute_reloc_for_rtx_1,
default_internal_label): Likewise.
* varray.c (varray_init, varray_grow): Likewise.
* vec.c (vec_gc_o_reserve_1, vec_heap_o_reserve_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136992
138bc75d-0d04-0410-961f-
82ee72b054a4
lauras [Fri, 20 Jun 2008 13:57:00 +0000 (13:57 +0000)]
2008-06-20 Laurynas Biveinis <laurynas.biveinis@gmail.com>
Tobias Burnus <burnus@net-b.de>
PR fortran/34908
PR fortran/36276
* scanner.c (preprocessor_line): do not call gfc_free for
current_file->filename if it differs from filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136989
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 20 Jun 2008 12:47:04 +0000 (12:47 +0000)]
* config/i386/i386.md (*jcc_fused_1): Handle all valid compare
operators for "test" insn. Macroize insn using SWI mode macro.
(*jcc_fused_2): Ditto.
(*jcc_fused_3): Macroize insn using SWI mode macro.
(*jcc_fused_4): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136988
138bc75d-0d04-0410-961f-
82ee72b054a4
aldot [Fri, 20 Jun 2008 08:30:26 +0000 (08:30 +0000)]
2008-06-20 Bernhard Fischer <aldot@gcc.gnu.org>
* tree-ssa-pre.c: Fix typo in comment.
(init_antic, fini_antic): Add explicit funtions for
initializing and deinitializing ANTIC and AVAIL sets.
(create_expression_by_pieces): Fix typo in comment.
Remove redundant set of new_stuff and use NULL_TREE instead of
NULL.
(execute_pre): Eventually dump details about ANTIC_IN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136984
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 20 Jun 2008 06:03:16 +0000 (06:03 +0000)]
* arith.c (hollerith2representation): Fix for -Wc++-compat.
* array.c (gfc_get_constructor): Likewise.
* decl.c (gfc_get_data_variable, gfc_get_data_value, gfc_get_data,
create_enum_history, gfc_match_final_decl): Likewise.
* error.c (error_char): Likewise.
* expr.c (gfc_get_expr, gfc_copy_expr): Likewise.
* gfortran.h (gfc_get_charlen, gfc_get_array_spec,
gfc_get_component, gfc_get_formal_arglist, gfc_get_actual_arglist,
gfc_get_namelist, gfc_get_omp_clauses, gfc_get_interface,
gfc_get_common_head, gfc_get_dt_list, gfc_get_array_ref,
gfc_get_ref, gfc_get_equiv, gfc_get_case, gfc_get_iterator,
gfc_get_alloc, gfc_get_wide_string): Likewise.
* interface.c (count_types_test): Likewise.
* intrinsic.c (add_char_conversions, gfc_intrinsic_init_1):
Likewise.
* io.c (gfc_match_open, gfc_match_close, match_filepos, match_io,
gfc_match_inquire, gfc_match_wait): Likewise.
* match.c (gfc_match, match_forall_iterator): Likewise.
* module.c (gfc_get_pointer_info, gfc_get_use_rename, add_fixup,
add_true_name, parse_string, write_atom, quote_string,
mio_symtree_ref, mio_gmp_real, write_common_0): Likewise.
* options.c (gfc_post_options): Likewise.
* primary.c (match_integer_constant, match_hollerith_constant,
match_boz_constant, match_real_constant,
gfc_get_structure_ctor_component, gfc_match_structure_constructor): Likewise.
* scanner.c (gfc_widechar_to_char, add_path_to_list,
add_file_change, load_line, get_file, preprocessor_line,
load_file, unescape_filename, gfc_read_orig_filename): Likewise.
* simplify.c (gfc_simplify_ibits, gfc_simplify_ishft,
gfc_simplify_ishftc): Likewise.
* symbol.c (gfc_get_st_label, gfc_get_namespace, gfc_new_symtree,
gfc_get_uop, gfc_new_symbol, save_symbol_data, gfc_get_gsymbol):
Likewise.
* target-memory.c (gfc_target_interpret_expr): Likewise.
* trans-const.c (gfc_build_wide_string_const): Likewise.
* trans-expr.c (gfc_add_interface_mapping): Likewise.
* trans-intrinsic.c (gfc_conv_intrinsic_conversion,
gfc_conv_intrinsic_int, gfc_conv_intrinsic_lib_function,
gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_ctime,
gfc_conv_intrinsic_fdate, gfc_conv_intrinsic_ttynam,
gfc_conv_intrinsic_minmax, gfc_conv_intrinsic_minmax_char,
gfc_conv_intrinsic_ishftc, gfc_conv_intrinsic_index_scan_verify,
gfc_conv_intrinsic_merge, gfc_conv_intrinsic_trim): Likewise.
* trans.c (gfc_get_backend_locus): Likewise.
* trans.h (gfc_get_ss): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136982
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 20 Jun 2008 05:06:24 +0000 (05:06 +0000)]
PR ada/36573
* s-osinte-hpux-dce.ads (SA_ONSTACK): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136981
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 20 Jun 2008 03:46:09 +0000 (03:46 +0000)]
* collect2.c (main, add_to_list): Fix for -Wc++-compat.
* gcc.c (translate_options, init_spec, store_arg, read_specs,
add_to_obstack, file_at_path, find_a_file, execute,
add_preprocessor_option, add_assembler_option, add_linker_option,
process_command, insert_wrapper, do_option_spec, do_self_spec,
spec_path, do_spec_1, is_directory, main, used_arg,
getenv_spec_function): Likewise.
* tlink.c (symbol_hash_lookup, file_hash_lookup,
demangled_hash_lookup, symbol_push, file_push, frob_extension):
Likewise.
java:
* class.c (ident_subst, mangled_classname, unmangle_classname,
gen_indirect_dispatch_tables, add_method_1,
build_fieldref_cache_entry, make_local_function_alias,
layout_class, java_treetreehash_find, java_treetreehash_new,
split_qualified_name): Fix for -Wc++-compat.
* constants.c (set_constant_entry, cpool_for_class): Likewise.
* decl.c (make_binding_level, java_dup_lang_specific_decl,
start_java_method): Likewise.
* except.c (prepare_eh_table_type): Likewise.
* expr.c (type_assertion_hash, note_instructions): Likewise.
* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC,
MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
* jcf-io.c (jcf_filbuf_from_stdio, opendir_in_zip, find_class):
Likewise.
* jcf-parse.c (reverse, java_read_sourcefilenames,
annotation_grow, rewrite_reflection_indexes, java_parse_file,
process_zip_dir): Likewise.
* jcf-path.c (add_entry, add_path, jcf_path_init,
jcf_path_extdirs_arg): Likewise.
* jcf-reader.c (jcf_parse_constant_pool): Likewise.
* jvgenmain.c (do_mangle_classname): Likewise.
* lang.c (put_decl_string): Likewise.
* verify-impl.c (make_state_copy, make_state, add_new_state):
Likewise.
objc:
* objc-act.c (setup_string_decl, objc_build_string_object,
hash_interface, eq_interface, objc_begin_try_stmt,
encode_method_prototype, build_ivar_list_initializer,
objc_build_encode_expr): Fix for -Wc++-compat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136980
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 20 Jun 2008 03:40:43 +0000 (03:40 +0000)]
2008-06-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/fmt_l.f90: Fix end of line test pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136979
138bc75d-0d04-0410-961f-
82ee72b054a4
zadeck [Fri, 20 Jun 2008 03:26:10 +0000 (03:26 +0000)]
2008-06-19 Kenneth Zadeck <zadeck@naturalbridge.com>
* doc/rtl.texi: Updated subreg section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136978
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 20 Jun 2008 02:18:07 +0000 (02:18 +0000)]
PR c++/36523
* cgraphunit.c (cgraph_process_new_functions): Don't clear
node->needed and node->reachable.
* cgraphbuild.c (record_reference): Handle OMP_PARALLEL and OMP_TASK.
* omp-low.c (delete_omp_context): Call finalize_task_copyfn.
(expand_task_call): Don't call expand_task_copyfn.
(expand_task_copyfn): Renamed to...
(finalize_task_copyfn): ... this.
* testsuite/libgomp.c++/task-7.C: New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136977
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Jun 2008 00:17:08 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136975
138bc75d-0d04-0410-961f-
82ee72b054a4
hutchinsonandy [Thu, 19 Jun 2008 22:08:25 +0000 (22:08 +0000)]
* lib/target-supports.exp(check_effective_target_keeps_null_pointer_checks): New function.
* gcc.dg/tree-ssa/
20030730-1.c: Use keeps_null_pointer_checks to determine correct test response.
* gcc.dg/tree-ssa/
20030730-2.c: Ditto.
* gcc.dg/tree-ssa/pr20701.c: Ditto.
* gcc.dg/tree-ssa/pr20702.c: Ditto.
* gcc.dg/tree-ssa/pr21086.c: Ditto.
* gcc.dg/tree-ssa/vrp02.c:: Ditto.
* gcc.dg/tree-ssa/vrp07.c:: Ditto.
* gcc.dg/tree-ssa/vrp08.c:: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136970
138bc75d-0d04-0410-961f-
82ee72b054a4
hutchinsonandy [Thu, 19 Jun 2008 22:03:05 +0000 (22:03 +0000)]
* gcc.dg/pragma-pack-4.c: Skip for AVR target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136969
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 19 Jun 2008 18:00:12 +0000 (18:00 +0000)]
* builtins.c (expand_builtin_nonlocal_goto): Stabilize r_sp before
clobbering framepointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136959
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 19 Jun 2008 17:48:14 +0000 (17:48 +0000)]
* tree-optimize.c (execute_early_local_optimizations): Set
cgraph_state only at first invocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136958
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 19 Jun 2008 17:28:42 +0000 (17:28 +0000)]
* config/i386/i386.md (*jcc_fused_1): Use ASM_COMMENT_START
instead of "#" in insn asm template.
(*jcc_fused_2): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136956
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 19 Jun 2008 17:03:46 +0000 (17:03 +0000)]
* system.h (-Wc++-compat): Activate as a warning, no an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136955
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 19 Jun 2008 16:39:35 +0000 (16:39 +0000)]
* config/i386/i386.h (ix86_tune_indices)
[X86_TUNE_FUSE_CMP_AND_BRANCH]: New.
(TARGET_FUSE_CMP_AND_BRANCH): New define.
* config/i386/i386.md (*jcc_fused_1): New insn pattern
(*jcc_fused_2): Ditto.
* config/i386/i386.c (ix86_tune_features): Add m_CORE2 to
X86_TUNE_USE_VECTOR_COMPARES targets.
(print operand): Handle 'E' and 'e' code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136954
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Thu, 19 Jun 2008 16:34:05 +0000 (16:34 +0000)]
* config/avr/avr.c (avr_mcu_t): Add attiny13a.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136953
138bc75d-0d04-0410-961f-
82ee72b054a4